{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "pricing-table",
  "type": "registry:ui",
  "title": "Pricing table",
  "description": "A three column pricing section that renders a PlanCard for each tier you pass in, stacking on mobile. Mark one plan as highlighted to steer visitors toward it.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.minidev.pro/r/plan-card.json",
    "utils"
  ],
  "files": [
    {
      "path": "registry/ui/pricing-table.tsx",
      "type": "registry:ui",
      "target": "components/ui/pricing-table.tsx",
      "content": "\"use client\"\nimport * as React from \"react\"\nimport { cn } from \"@/lib/utils\"\nimport { PlanCard } from \"@/components/ui/plan-card\"\n\n/** PricingTable — three PlanCards in a responsive grid, one of them highlighted. */\n\ntype Plan = React.ComponentProps<typeof PlanCard>\n\n// Lumen pricing tiers.\nconst SAMPLE_PLANS: Plan[] = [\n  { name: \"Starter\", price: \"$0\", features: [\"5 invoices a month\", \"1 seat\", \"Email support\"], cta: \"Start free\" },\n  { name: \"Pro\", price: \"$49\", features: [\"Unlimited invoices\", \"Up to 10 seats\", \"Bank sync and reconciliation\", \"Priority support\"], highlighted: true },\n  { name: \"Business\", price: \"$149\", features: [\"Everything in Pro\", \"Unlimited seats\", \"SSO and audit log\", \"Dedicated manager\"] },\n]\n\ntype PricingTableProps = {\n  /** One entry per tier, each taking PlanCard props. */\n  plans?: Plan[]\n  className?: string\n}\n\nfunction PricingTable({\n  plans = SAMPLE_PLANS,\n  className,\n}: PricingTableProps) {\n  return (\n    <div\n      data-slot=\"pricing-table\"\n      className={cn(\"grid gap-4 md:grid-cols-3\", className)}\n    >\n      {plans.map((p, i) => (\n        <PlanCard key={p.name ?? i} {...p} />\n      ))}\n    </div>\n  )\n}\nexport { PricingTable }\nexport type { PricingTableProps }\n"
    }
  ]
}
