@kelviq/react-sdk
v2.0.2
Published
React SDK for integrating Kelviq entitlement management into your applications. Provides a context provider, hooks, and conditional rendering components to control feature access based on customer entitlements.
Readme
@kelviq/react-sdk
React SDK for integrating Kelviq entitlement management into your applications. Provides a context provider, hooks, and conditional rendering components to control feature access based on customer entitlements.
Installation
npm install @kelviq/react-sdkQuick Start
import { KelviqProvider, ShowWhenBooleanEntitled } from '@kelviq/react-sdk';
const App = () => (
<KelviqProvider customerId="your-customer-id" accessToken="your-access-token">
<ShowWhenBooleanEntitled featureKey="premium-feature">
<PremiumContent />
</ShowWhenBooleanEntitled>
</KelviqProvider>
);Documentation
For full documentation, guides, and API reference, visit docs.kelviq.com/frontend-integration/react-sdk.
License
MIT
