Plan comparison
Plans side by side with prices and feature lists.
Pay per seat
Change plans or cancel at any time.
Prices in USD. Taxes added at checkout.
When to use
- A pricing page with a few tiers.
When not to use
- There is a single plan.
Installation
terminal
pnpm dlx shadcn@latest add @caliper/plan-comparison
Adds its 8 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
PlanComparison
7 props
PropTypeDefault
plans *readonly Plan[]—
titlestring"Simple pricing"
descriptionstring—
currencystring"USD"
onSelect((planId: string, billing: "monthly" | "yearly") => void)—
footerReactNode—
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-label and aria-hidden in step with state.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/plan-comparison.mdThe index of every part is at /llms.txt.