Blocks
Pricing block
Pricing worked out from the buyer's own numbers: enter seats and each plan shows its total and why it fits.
pnpm dlx shadcn@latest add @caliper/pricing-blockWhen to use
Use it for
- Per-seat, per-unit or usage pricing.
- Buyers ask which plan fits before they ask what it costs.
Skip it when
- One flat price; state it in the call to action.
- Quote-only enterprise sales; use a contact band.
Installation
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.
Usage
Import it from your copy of the source. The example behind the preview comes with the source. It is built from PlanCompareTable and PricingBlock.
import { PlanCompareTable, PricingBlock } from "@/components/ui/pricing-block"
The worked example comes with Pro
The 35-line example behind the preview opens here, ready to copy.
- 626 Pro parts, blocks and page templates, all with source
- $149 once, with lifetime updates. No renewal
- A full refund within 14 days if it is not for you
API reference
PlanCompareTable
component
PricingBlock
component
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.
No custom key handling; Tab and the native activation keys do the work.
Motion
Transitions use the shared duration and easing tokens. Under prefers-reduced-motion those tokens collapse to instant and travel distances go to zero, so state changes still happen without movement.
Related
- Contact sectionA contact form beside the ways to reach a team.
- 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.