
In simple English
When a user tries to cancel their subscription, you need to ask them why and offer them a discount or a pause. Building this cancellation screen from scratch takes a lot of time. This package gives you a pre-built React component that handles surveys, discount offers, and final cancellations. You can use it by itself or connect it to an external analytics service. It is free to use under an open-source licence.
What it is
A production-ready React component and helper library for handling subscription cancellations. It includes survey steps, retention offers, and server-side utilities.
What it is good for
Solo founders running a subscription software business who want to save customers from churning without building a cancellation survey page from scratch.
- Drop-in React component saves hours of frontend work.
- Includes built-in support for discounts, subscription pauses, and feedback surveys.
- Open-source licence with no mandatory paid subscription required.
- Requires writing custom functions to connect to your specific billing system.
- Only works for React applications.
- Has a small community with very few stars so far.
building a custom cancellation flow and exit survey from scratch
Stripe for processing subscription changes and discounts
- TanStack/query50k stars
Another essential React library, though it handles data fetching rather than UI flows.
- shadcn-ui/ui126k stars
Provides unstyled UI components, whereas this package gives you a complete functional feature flow.
- hledgerorg/hledger4.8k stars
Double-entry accounting over plain text files, with command-line, terminal, web and editor interfaces.
- akaunting/akaunting10k stars
Self-hosted invoicing and expense tracking, with the double-entry accounting sold separately as an add-on.
- ledger/ledger6.1k stars
Double-entry accounting from a plain text file, run from the command line, with no database of any kind.
npm install @churnkey/react