Pricing
BlockA pricing section with plan cards and a monthly/yearly toggle.
- Pricing
- 5 components
- 1 file
Loading the example…
pnpm dlx @dowel-ui/cli add pricingimport { PricingBlock } from "@/components/blocks/pricing";<PricingBlock>
| Prop | Type | Default |
|---|---|---|
plans (required) | PricingPlan[] | — |
currency | string | "$" |
description | string | "Start free. Upgrade when you need to." |
footnote | ReactNode | — |
showPeriodToggleShows the monthly/yearly toggle. | boolean | true |
title | string | "Pricing" |
className | string | — |
Switching the billing period rewrites every price on the page, so the change is announced politely rather than happening silently. Each plan's call to action names the plan — three buttons all reading "Choose" are indistinguishable out of context. Feature ticks are decorative; the feature text carries the meaning.