React hooks
Your UI knows when Pro turns on.
useEntitlement and useSubscription plug into the cache the SDK already keeps. The moment Stripe confirms the charge, every component that needs to re-render, re-renders.
React hooks
Billing state, hooked up.
Built for the way you already write React. Typed, re-renders on change, safe on the server.
useEntitlement, one line
Pass the key you care about, get a boolean. The hook subscribes to cache updates so your component re-renders the instant the SDK hears a webhook.
useSubscription for the full picture
Plan, renewal date, trial state, seat count. Everything you need to render a real billing screen or a custom account tab. No extra fetch.
CrxPayProvider, set and forget
Wrap your root once with your public key and mode. Every child component can use the hooks. No prop drilling, no Redux adapter, no fetch wrapper.
SSR-safe and strict-mode clean
Renders a stable fallback on the server, hydrates from the signed cache on the client. Works with Next.js 14 and 15, React 18 and 19, no double-fetch in strict mode.
Why React teams ship faster
Hooks that feel native.
Ready to grow?
Our entire suite of features comes standard — and your first $2,500 in tracked revenue is free.