Pricing editions
Five pricing sections, each built around one question a buyer asks: what will my team cost, is yearly worth it, what changes between plans, is there a catch, and what will my usage cost. Each one works the answer out live from the buyer's own input.
When to use
- A pricing page or the pricing band of a landing page.
- When the price depends on seats, period or usage and you would rather show the sum than a footnote.
- Pick the edition by how the product is sold: seats, plans, one price or metered use.
When not to use
- Quotes for a single customer; use `pricing-calculator`.
- Billing screens inside the product; use `usage-pricing` and `billing-toggle`.
- Long plan-by-plan feature tables; use the comparison table in `pricing-block`.
Installation
pnpm dlx shadcn@latest add @caliper/pricing-editions
Adds its 11 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
SeatLedgerPricing
10 props
PeriodSwitchPricing
10 props
PlanDiffPricing
9 props
OnePricePricing
15 props
UsageBandPricing
13 props
bandEdges
0 props
No props of its own; it accepts the native props of its root element.
unitsAt
0 props
No props of its own; it accepts the native props of its root element.
positionOf
0 props
No props of its own; it accepts the native props of its root element.
Keyboard
- No custom key handling; Tab and the native activation keys do the work.
Accessibility
It is built on native elements and keeps aria-valuetext, aria-describedby, aria-hidden, aria-live and aria-label 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-editions.mdThe index of every part is at /llms.txt.