Pricing Plans

A React pricing section with a monthly or yearly switch that rolls prices to the new value, a featured ink plan, and feature rows marked included or not.

src/registry/blocks/pricing-plans.tsx/r/pricing-plans.json

Installation#

bash
npx shadcn@latest add https://ui.minidev.pro/r/pricing-plans.json

Usage#

tsx
import { PricingPlans } from "@/components/ui/pricing-plans"

export function Example() {
  return <PricingPlans />
}

API reference#

PricingPlans props
PropTypeDefault
eyebrowstring"Pricing"
titleReact.ReactNode"Priced like a tool, not a hire."
descriptionReact.ReactNode"Per seat, per month. Change plans an...
plansPlan[]DEFAULT_PLANS
currencystring"USD"
yearlyBadgestring"-20%"
onSelect(plan: string, period: "monthly" | "yearly") => void-
unitstring"/ seat / mo"
perstring"per seat"
classNamestring-

Dependencies#

npm

lucide-react
All pricing and billing components