Pricing template
A pricing page in one voice: the deal in one line, plans worked out from the buyer's numbers, the switch row by row, the last doubts and one action.
When to use
- A standalone pricing page linked from the header.
- Plans that depend on seats, doors or usage.
When not to use
- One flat price; state it on the landing page.
Installation
terminal
pnpm dlx shadcn@latest add @caliper/pricing-template
Adds its 16 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
PricingTemplate
12 props
PropTypeDefaultDescription
brand *string—
navreadonly BlockNavLink[][]
signInBlockAction—
primaryBlockAction—
intro *{ eyebrow?: string | undefined; title: string; lead?: string | undefined; facts?: readonly string[] | undefined; }—The page opening, e.g. "Pay for the seats you use", with the deal in one line.
pricing *Without<{ eyebrow?: string | undefined; title: ReactNode; lead?: string | undefined; plans: readonly BlockPlan[]; unit?: string | undefined; units?: { min: n…—
proofWithout<{ title?: string | undefined; logos: readonly string[]; caseStudy?: { figure: string; figureLabel: string; quote: string; person: string; action?: Bl…—
comparisonWithout<{ eyebrow?: string | undefined; title: string; lead?: string | undefined; beforeLabel: string; afterLabel: string; rows: readonly BlockComparisonRow[…—
faqWithout<{ eyebrow?: string | undefined; title: string; lead?: string | undefined; items: readonly BlockFaq[]; searchable?: boolean | undefined; ask?: { label…—
ctaWithout<{ eyebrow?: string | undefined; title: ReactNode; reassurance?: string | undefined; primary?: BlockAction | undefined; secondary?: BlockAction | unde…—
footer(Omit<Without<{ brand: string; tagline?: string | undefined; statement?: ReactNode; action?: BlockAction | undefined; columns: readonly BlockFooterColumn[]; …—
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 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/pricing-template.mdThe index of every part is at /llms.txt.