Cancel Flow

Two step subscription cancellation flow: ask for a reason with radio options, then confirm with a destructive button or go back. Tells users what they keep.

src/registry/ui/cancel-flow.tsx/r/cancel-flow.json

Installation#

bash
npx shadcn@latest add @minidev/cancel-flow

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/cancel-flow.json

Usage#

tsx
import { CancelFlow } from "@/components/ui/cancel-flow"

export function Example() {
  return <CancelFlow />
}

API reference#

CancelFlow props
PropTypeDefault
classNamestring-

Dependencies#

npm

React only

Built from

All pricing and billing components

Learn more