{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "pricing", "type": "registry:ui", "title": "Pricing", "description": "Three-tier pricing section.", "dependencies": [ "lucide-react" ], "registryDependencies": [ "https://starkui.vercel.app/r/badge.json", "https://starkui.vercel.app/r/button.json" ], "files": [ { "path": "registry/starkui/pricing.tsx", "content": "import { Check } from \"lucide-react\";\nimport { Badge } from \"@/components/ui/badge\";\nimport { Button } from \"@/components/ui/button\";\nimport { cn } from \"@/lib/utils\";\n\nexport interface PricingTier {\n name: string;\n price: string;\n period?: string;\n description: string;\n features: string[];\n cta?: string;\n highlighted?: boolean;\n}\n\nexport function Pricing({ tiers }: { tiers: PricingTier[] }) {\n return (\n
\n {tiers.map((tier) => (\n \n
\n

{tier.name}

\n {tier.highlighted && Popular}\n
\n
\n \n {tier.price}\n \n {tier.period && (\n \n /{tier.period}\n \n )}\n
\n

\n {tier.description}\n

\n
\n
    \n {tier.features.map((f) => (\n
  • \n \n {f}\n
  • \n ))}\n
\n \n {tier.cta ?? \"Get started\"}\n \n
\n ))}\n
\n );\n}\n", "type": "registry:ui", "target": "components/ui/pricing.tsx" } ] }