Pricing block
Pricing worked out from the buyer's own numbers: enter seats and each plan shows its total and why it fits.
When to use
- Per-seat, per-unit or usage pricing.
- Buyers ask which plan fits before they ask what it costs.
When not to use
- One flat price; state it in the call to action.
- Quote-only enterprise sales; use a contact band.
Installation
terminal
pnpm dlx shadcn@latest add @caliper/pricing-block
Adds its 7 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
PlanCompareTable
5 props
PropTypeDefault
plans *readonly BlockPlan[]—
compare *BlockPlanCompare—
title *string—
priceOf((plan: BlockPlan) => ReactNode)—
classNamestring—
PricingBlock
14 props
PropTypeDefaultDescription
eyebrowstring—
title *ReactNode—
leadstring—
plans *readonly BlockPlan[]—
unitstring"seat"
units{ min: number; max: number; initial: number; label?: string | undefined; }{ min: 1, max: 40, initial: 14 }
currencystring"$"
yearlyDiscountnumber1 / 6Share taken off when billed yearly; 1/6 means two months free.
footnoteReactNode—
billing"per-unit" | "once""per-unit"
compareBlockPlanCompare—
compareTitlestring"Compare plans"
headingLevel1 | 22
classNamestring—
Keyboard
- No custom key handling; Tab and the native activation keys do the work.
Accessibility
It is built on native elements and keeps aria-hidden, aria-valuetext and aria-live in step with state. Changes that matter are announced through a live region.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/pricing-block.mdThe index of every part is at /llms.txt.
More in Hero, FAQ & contact
Contact sectionA contact form beside the direct ways to reach a team, laid over a photo of the place with the people who answer and their local time.Footer blockThe page's last word: link columns, a newsletter that confirms in place, the legal line, status and the name as a full-width wordmark.CTA blockThe closing call to action: the promise again, one specific next step and a reassurance line.