Pricing Three Tier
BlockThree plans side by side, the middle one featured, under a monthly/annual switch with prices that roll.
- Pricing
- 6 components
- 1 file
pnpm dlx @dowel-ui/cli add pricing-three-tierimport { DEFAULT } from "@/components/blocks/pricing-three-tier"; export default function Page() { return <DEFAULT />;}<PricingThreeTierBlock>
| Prop | Type | Default |
|---|---|---|
currencyISO 4217 code, formatted by Intl.NumberFormat. | string | "EUR" |
defaultPeriodInitial billing period when uncontrolled. | BillingPeriod | "yearly" |
description | ReactNode | "Pricing designed for teams of every size. Scale your business with confidence." |
heading | ReactNode | "Choose your perfect plan" |
headingLevelLevel of the section heading; each plan name is one level below. | 1 | 2 | 3 | 4 | 5 | 6 | 2 |
labelsVisible and announced text, for localisation. | Partial<PricingThreeTierLabels> | — |
localeFormatting locale. Defaults to the reader's. | Intl.LocalesArgument | — |
onPeriodChange | (period: BillingPeriod) => void | — |
periodControlled billing period. | BillingPeriod | — |
plans | PricingTierPlan[] | DEFAULT_PRICING_THREE_TIER_PLANS |
showPeriodToggleShows the monthly/annual control. | boolean | true |
Plus every attribute of <section> except title.