Integration
Drop-in React components, hooks, and server adapters. Add subscriptions to your app in three steps.
@recur/react and @recur/server are planned packages — currently in development. Use @recur/sdk directly for all functionality. See the SDK Quickstart for working examples.
Integration
Recur will ship three layers so you can integrate at exactly the level of control you want — no Web3 knowledge required.
| Layer | Package | Status | Use when |
|---|---|---|---|
| Components | @recur/react | Coming Soon | You want a button or modal that just works |
| Hooks | @recur/react | Coming Soon | You want to keep your own UI but skip the wallet/transaction plumbing |
| Server | @recur/server | Coming Soon | You want framework-specific webhook middleware |
| SDK | @recur/sdk | Available now | Raw transaction builders, webhook verification, full control |
Available today with @recur/sdk
Releasing soon on npm. The SDK is fully built — the npm release is imminent.
The SDK provides all the building blocks:
RecurClient— subscribe, cancel, reapprove, authenticate, plan queriesverifyWebhookSignature/parseWebhookPayload— webhook verificationsignAndSend— transaction helper- Typed errors for every failure mode
See the SDK documentation for complete usage.
Planned three-step setup (when @recur/react ships)
1. Install
2. Wrap your app
3. Drop in a button
Where to next
- SDK Quickstart — get started now with
@recur/sdk - Components — planned drop-in components (roadmap)
- Hooks — planned headless hooks (roadmap)
- Server-side helpers —
RecurClientusage from backends - Webhook verification — verify webhooks using
@recur/sdk