Atelier UI

Search components…

Search components…

Pricing Cards

Three-tier pricing cards with a monthly / yearly switch and a highlighted plan.

Edit in sandbox

Copy a prompt for your AI coding tool with the source, dependencies and usage

Props

PricingCardsProps

Also accepts all props of React.ComponentProps<"section">

PropTypeDefaultDescription
plans* requiredPricingPlan[]——
currencystring"$"—
yearlyBadgestring"-20%"Label shown next to the yearly option, e.g. "-20%"
labels{ monthly: string; yearly: string; perMonth: string; popular: string }defaultLabels—
onSelectPlan(plan: PricingPlan, billing: "monthly" | "yearly") => void——

Install

$ npx shadcn@latest add https://chromotion.dev/r/pricing-cards.json

The CLI installs the base component; your customizations live in the code generated on the Customize tab.

More like this