About
A two-step subscription cancellation card that asks the user for a reason via radio buttons, then shows a confirm-or-back step before cancelling.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Cancel Flow to your project and fits it to your theme.
Code
How Cancel Flow is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { CancelFlow } from "@/components/ui/cancel-flow";
export default function CancelFlowDemo() {
return (
<div className="flex min-h-screen w-full items-center justify-center bg-bg p-8">
<CancelFlow
planName="Scale"
onConfirm={(reason) => console.log("cancel reason:", reason)}
/>
</div>
);
}







