Plans
A whole pricing section: plan cards, a Monthly / Yearly switch and the questions people ask before they buy.
What a block is
A block is a kit component for a whole area of a screen, built only from other kit components and tokens. You import it like any component; nothing is copied into your app. Put it inside your page’s <main>: it brings no header or nav of its own.
When to use
- a public pricing page or the pricing section of a landing page
- plans need the common questions answered beside them
- an upgrade screen that should answer billing questions in place
When not to use
- only the plan cards, e.g. a small upgrade dialog — PricingPlans
- usage against a plan limit — UsageMeter or UsageList
- picking options in a form — TileGroup
- invoices and the billing schedule — the billing-schedule pattern
Usage
Plan cards with one Monthly / Yearly switch and the questions people ask before they buy. The recommended plan's button is the one primary.
Layout
- one column: heading and lead, PricingPlans, the FAQ
- PricingPlans' cards wrap to one per row in a narrow block, and become a TileGroup with one button below 30rem
- the block is its own inline-size container, so it works the same in a page column or full width
Props
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
| plans | array | Yes | — | PricingPlans plans: { id, name, icon?, tagline?, fit?, price, yearlyPrice?, featuresLead?, features, ctaLabel?, recommended?, current? }[]. Mark one recommended: its CTA is the one solid primary. |
| interval | month | year | No | — | Controlled interval. |
| defaultInterval | month | year | No | month | Uncontrolled starting interval. |
| onIntervalChange | function | No | — | (interval) => void. The Monthly / Yearly switch changed. |
| onChoosePlan | function | No | — | (planId, interval) => void. A plan's CTA was pressed. |
| faqs | array | No | — | { id, question, answer }[]. Shown as an Accordion when there are two or more. |
| title | string | No | Pricing | Block heading (h2). |
| description | string | No | — | One line under the heading. |
| plansTitle | string | No | Choose a plan | PricingPlans heading (h3). |
| faqTitle | string | No | Questions | — |
| savingsLabel | string | No | — | Passed to PricingPlans, beside the switch. |
| footnote | string | No | — | Passed to PricingPlans, under the cards. |
| layout | stacked | wide | No | stacked | Passed to PricingPlans: stacked cards, or one plan per row with features in two columns. |
| recommendedLabel | string | No | Recommended | Passed to PricingPlans: the Badge word on the recommended plan, e.g. 'Most popular'. |
| currency | string | No | $ | — |
| unitLabel | string | No | / seat / month | — |
Built from
Related
- Component
PricingPlans
An in-product plan comparison for upgrades, not a marketing page: a Monthly / Yearly switch, one card per plan with price, features and one CTA.
- Component
UsageMeter
Plan usage or AI credits against a limit: total, usage by category, daily bars toned against the cap, and a warning near the limit.
- Component
UsageList
A list of usage limits, one a row: the limit's name, how much is used of it, a bar, and a short note.
- Component
TileGroup
Selectable cards for a plan or option picker.