
Usage
import { PricingTable } from "@/registry/blocks/pricing-table/pricing-table";
<PricingTable plans={[/* … */]} />Props
| Prop | Type | Default | Description |
|---|---|---|---|
plans | PricingPlan[] | ||
currency? | string | "$" | |
yearlyNote? | string | "Save 20%" | e.g. "Save 20%" next to the yearly option |
defaultBilling? | "monthly" | "yearly" | "monthly" |
When to use
SaaS pricing pages and upgrade screens with two to four plans.
When not to use
Usage-based calculators or more than four plans (build a comparison table, for example with data-grid).
Related
Segmented control · Number ticker · Button · Testimonial wall