Skip to content
caliper ui pro docs

Pricing calculator

Sliders that estimate a price from seats and usage.

Pro
Add-ons

$153.60 / month

Billed $1,843.20 a year. You save $460.80.

  • 8 seats × $24$192
  • 50,000 requests (100,000 included)Free
  • Yearly discount−$38.40

When to use

  • Visitors choose a plan size and want an estimate.
  • Several inputs change the price.

When not to use

  • The plans are simple and fixed.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/pricing-calculator

Adds its 6 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

PricingCalculator

9 props
PropTypeDefaultDescription
seatPrice *number—
usageName *string—
usageTiers *readonly PriceTier[]—
usageMaxnumber1_000_000
includedUsagenumber0
addOnsreadonly CalculatorAddOn[][]
annualDiscountnumber0.2Fraction taken off when billed yearly.
onContinue((choice: CalculatorChoice) => void)—
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, 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-calculator.md

The index of every part is at /llms.txt.

More in Billing