{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "pricing-card", "title": "Pricing Card", "description": "Feature list + CTA pricing tier card with highlighted variant", "files": [ { "path": "registry/pioneerui/pricing-card.tsx", "content": "import React from \"react\"\nimport { cn } from \"@/lib/utils\"\n\nexport interface PricingFeature {\n text: string\n included: boolean\n}\n\nexport interface PricingCardProps extends React.HTMLAttributes {\n name: string\n description?: string\n price: string | number\n period?: string\n features: PricingFeature[]\n cta?: string\n onCtaClick?: () => void\n highlighted?: boolean\n badge?: string\n}\n\nexport function PricingCard({\n name,\n description,\n price,\n period = \"/month\",\n features,\n cta = \"Get started\",\n onCtaClick,\n highlighted = false,\n badge,\n className,\n ...props\n}: PricingCardProps) {\n return (\n \n {badge && (\n \n {badge}\n \n )}\n\n
\n

{name}

\n {description && (\n

\n {description}\n

\n )}\n
\n\n
\n \n {typeof price === \"number\" ? `$${price}` : price}\n \n {period && (\n \n {period}\n \n )}\n
\n\n \n {cta}\n \n\n
    \n {features.map((feature, i) => (\n
  • \n \n {feature.included ? (\n \n ) : (\n <>\n \n \n \n )}\n \n \n {feature.text}\n \n
  • \n ))}\n
\n \n )\n}\n", "type": "registry:ui", "target": "components/pioneerui/pricing-card.tsx" } ], "type": "registry:ui" }