149
Three plans side by side with a monthly or yearly toggle that rolls each price into place, and a full feature table that folds out underneath.
akapricing·plans
Run this in any project set up for the shadcn CLI. It copies the Pricing Table source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/pricing-table.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { PricingTable } from "@/components/pricing-table";
export default function Page() {
return <PricingTable />;
}A free React block in the Marketing collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Pricing Table source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| plansrequired | PricingPlan[] | — |
| features | PricingFeatureGroup[] | — |
| eyebrow | string | "Pricing" |
| title | string | "Simple plans that grow with you" |
| subtitle | string | "Start free for 14 days. Switch or cancel whenever you like." |
| currency | string | "$" |
| yearlyBadge | string | "−20%" |
| defaultBilling | Billing | "monthly" |
| onSelect | (plan: PricingPlan, billing: Billing) => void | — |
| className | string | — |