Starter
For trying a better workflow.
$0/ month
Billed monthly
- 3 active projects
- Core workflows
- Community support
Compare plan features and switch between monthly and annual displayed prices.
Start with the essentials. Change plans when your needs change.
For trying a better workflow.
$0/ month
Billed monthly
For teams building together.
$18/ month
Billed monthly
For organizations with more needs.
$42/ month
Billed monthly
npx shadcn@latest add @pixeldosa/pricing-sectionRequires `cn` at `@/lib/utils`. Supply already formatted display prices and accurate billing terms; the component does not calculate tax, currency conversions, or subscription totals.
<PricingSection
title="Plans that grow with your team"
plans={[
{
id: "team",
name: "Team",
description: "For teams building together.",
monthlyPrice: "$18",
annualPrice: "$14",
features: ["Unlimited projects", "Priority support"],
action: <Button>Choose Team</Button>,
},
]}
/>
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | — | Section heading. |
description | string | — | Optional introduction. |
plans | PricingPlan[] | — | Plans with display prices, feature strings, and an action node. |
columns | "two" | "three" | "three" | Preferred plan-grid layout. |
className | string | — | Extra section classes. |
why it's built this way
Treats displayed prices as caller-formatted strings rather than embedding locale, currency, tax, and billing arithmetic in a presentation block. A native button pair with aria-pressed makes the billing selection keyboard operable without requiring a switch widget for two labelled choices. Plan actions are slots so consumers can connect them to their own checkout or sales flows.
how it moves, and when it doesn't
The billing selection updates price text immediately with no number-counting effect, since animated price changes can obscure the actual amount. Selected styling and the explicit billing note communicate the current state. Reduced-motion preferences do not alter the text or action availability.