{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "pricing-section-v3",
  "title": "Pricing Section v3",
  "description": "Three-tier pricing cards with a monthly/yearly switch, grouped feature lists, and centered two-line headline.",
  "dependencies": [],
  "registryDependencies": [
    "button",
    "card",
    "switch",
    "badge",
    "label",
    "separator"
  ],
  "files": [
    {
      "path": "registry/new-york/blocks/pricing-section-v3/page.tsx",
      "content": "import PricingSectionV3 from \"./components/pricing-section-v3\"\n\nexport default function Page() {\n  return <PricingSectionV3 />\n}\n",
      "type": "registry:page",
      "target": "app/pricing-section-v3/page.tsx"
    },
    {
      "path": "registry/new-york/blocks/pricing-section-v3/components/pricing-section-v3.tsx",
      "content": "\"use client\"\n\nimport { useId, useState } from \"react\"\nimport { Instrument_Serif } from \"next/font/google\"\n\nimport { Badge } from \"@/components/ui/badge\"\nimport { Label } from \"@/components/ui/label\"\nimport { Switch } from \"@/components/ui/switch\"\n\nimport PricingCard from \"./pricing-card\"\nimport { pricingPlans, type BillingCycle } from \"../lib/pricing-plans\"\n\nconst instrumentSerif = Instrument_Serif({\n  subsets: [\"latin\"],\n  weight: [\"400\"],\n})\n\nexport default function PricingSectionV3() {\n  const [billingCycle, setBillingCycle] = useState<BillingCycle>(\"monthly\")\n  const switchId = useId()\n  const groupId = useId()\n\n  return (\n    <section className=\"py-4 md:py-6 lg:py-8\">\n      <div className=\"mx-auto max-w-7xl px-4 sm:px-6 lg:px-8\">\n        <div className=\"mx-auto mb-10 max-w-2xl text-center\">\n          <h2 className={`${instrumentSerif.className} text-4xl leading-[1.15] tracking-tight text-balance md:text-5xl`}>\n            <span className=\"block text-foreground\">Simple pricing</span>\n            <span className=\"mt-1 block text-muted-foreground\">\n              Plans that grow with you\n            </span>\n          </h2>\n          <p className=\"mx-auto mt-5 max-w-xl text-[0.9375rem] leading-relaxed text-muted-foreground\">\n            Pick a plan that matches your team size. Every tier includes core\n            product access, with higher plans unlocking automation, security,\n            and hands-on support.\n          </p>\n          <div\n            className=\"mt-8 flex flex-wrap items-center justify-center gap-3\"\n            role=\"group\"\n            aria-labelledby={groupId}\n          >\n            <span id={groupId} className=\"sr-only\">\n              Billing frequency\n            </span>\n            <Label\n              className=\"cursor-pointer text-sm font-medium text-foreground\"\n              onClick={() => setBillingCycle(\"monthly\")}\n            >\n              Monthly\n            </Label>\n            <Switch\n              id={switchId}\n              checked={billingCycle === \"yearly\"}\n              onCheckedChange={(checked) =>\n                setBillingCycle(checked ? \"yearly\" : \"monthly\")\n              }\n              aria-label=\"Bill yearly\"\n            />\n            <Label\n              className=\"cursor-pointer text-sm font-medium text-foreground\"\n              onClick={() => setBillingCycle(\"yearly\")}\n            >\n              Yearly\n            </Label>\n            <Badge variant=\"outline\">Save 20%</Badge>\n          </div>\n        </div>\n        <ul className=\"grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3\">\n          {pricingPlans.map((plan) => (\n            <PricingCard\n              key={plan.id}\n              billingCycle={billingCycle}\n              plan={plan}\n            />\n          ))}\n        </ul>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component",
      "target": "app/pricing-section-v3/components/pricing-section-v3.tsx"
    },
    {
      "path": "registry/new-york/blocks/pricing-section-v3/components/pricing-card.tsx",
      "content": "import { CheckIcon } from \"lucide-react\"\nimport { Instrument_Serif } from \"next/font/google\"\n\nimport { Badge } from \"@/components/ui/badge\"\nimport { Button } from \"@/components/ui/button\"\nimport {\n  Card,\n  CardContent,\n  CardDescription,\n  CardFooter,\n  CardHeader,\n  CardTitle,\n} from \"@/components/ui/card\"\nimport { Separator } from \"@/components/ui/separator\"\nimport type { BillingCycle, PricingPlan } from \"../lib/pricing-plans\"\n\nconst instrumentSerif = Instrument_Serif({\n  subsets: [\"latin\"],\n  weight: [\"400\"],\n})\n\ntype PricingCardProps = {\n  plan: PricingPlan\n  billingCycle: BillingCycle\n}\n\nexport default function PricingCard({ plan, billingCycle }: PricingCardProps) {\n  const pricing = billingCycle === \"yearly\" ? plan.yearly : plan.monthly\n\n  return (\n    <li className=\"min-w-0\">\n      <Card className=\"relative h-full gap-0 border border-border py-0 shadow-none ring-0\">\n        <CardHeader className=\"gap-3 border-b border-border px-5 pt-5 pb-5\">\n          <div className=\"flex items-start justify-between gap-3\">\n            <div className=\"flex flex-col gap-1\">\n              <CardTitle className=\"text-lg font-semibold tracking-tight text-foreground\">\n                {plan.name}\n              </CardTitle>\n              <CardDescription className=\"text-sm leading-relaxed text-muted-foreground\">\n                {plan.description}\n              </CardDescription>\n            </div>\n            {plan.popular ? (\n              <Badge variant=\"outline\" className=\"shrink-0\">\n                Popular\n              </Badge>\n            ) : null}\n          </div>\n          <div className=\"flex flex-col gap-1 pt-1\">\n            <p className={`${instrumentSerif.className} text-4xl leading-[1.15] tracking-normal text-foreground`}>\n              {pricing.price}\n            </p>\n            <p className=\"text-xs font-medium tracking-wide text-muted-foreground uppercase\">\n              {plan.priceSuffix}\n            </p>\n          </div>\n        </CardHeader>\n        <CardContent className=\"flex flex-1 flex-col gap-0 px-5 pt-0 pb-5\">\n          {plan.featureGroups.map((group, groupIndex) => (\n            <div key={group.title}>\n              {groupIndex > 0 ? <Separator className=\"my-4\" /> : null}\n              <div className={groupIndex === 0 ? \"pt-5\" : undefined}>\n                <p className=\"mb-3 text-sm text-muted-foreground\">{group.title}</p>\n                <ul className=\"flex flex-col gap-2.5\">\n                  {group.features.map((feature) => (\n                    <li\n                      key={feature}\n                      className=\"flex items-start gap-2.5 text-sm leading-relaxed text-muted-foreground\"\n                    >\n                      <span className=\"mt-0.5 flex size-4 shrink-0 items-center justify-center rounded-full border border-border text-muted-foreground\">\n                        <CheckIcon aria-hidden className=\"size-2.5\" />\n                      </span>\n                      <span>{feature}</span>\n                    </li>\n                  ))}\n                </ul>\n              </div>\n            </div>\n          ))}\n        </CardContent>\n        <CardFooter className=\"border-t-0 bg-transparent p-5 pt-0\">\n          <Button className=\"w-full rounded-full\" size=\"lg\">\n            {plan.ctaLabel}\n          </Button>\n        </CardFooter>\n      </Card>\n    </li>\n  )\n}\n",
      "type": "registry:component",
      "target": "app/pricing-section-v3/components/pricing-card.tsx"
    },
    {
      "path": "registry/new-york/blocks/pricing-section-v3/lib/pricing-plans.ts",
      "content": "export type BillingCycle = \"monthly\" | \"yearly\"\n\nexport type FeatureGroup = {\n  title: string\n  features: string[]\n}\n\nexport type PricingPlan = {\n  id: \"core\" | \"growth\" | \"pro\"\n  name: string\n  description: string\n  popular?: boolean\n  monthly: { price: string }\n  yearly: { price: string }\n  priceSuffix: string\n  featureGroups: FeatureGroup[]\n  ctaLabel: string\n}\n\nexport const pricingPlans: PricingPlan[] = [\n  {\n    id: \"core\",\n    name: \"Core\",\n    description: \"For solo creators.\",\n    monthly: { price: \"$29\" },\n    yearly: { price: \"$23\" },\n    priceSuffix: \"Per user/month\",\n    ctaLabel: \"Get Started\",\n    featureGroups: [\n      {\n        title: \"Workspace\",\n        features: [\n          \"3 shared workspaces\",\n          \"Unlimited projects\",\n          \"Basic workflow templates\",\n        ],\n      },\n      {\n        title: \"Support\",\n        features: [\n          \"Slack & email integrations\",\n          \"Community templates\",\n          \"Standard email support\",\n        ],\n      },\n    ],\n  },\n  {\n    id: \"growth\",\n    name: \"Growth\",\n    description: \"For product teams shipping.\",\n    popular: true,\n    monthly: { price: \"$59\" },\n    yearly: { price: \"$47\" },\n    priceSuffix: \"Per user/month\",\n    ctaLabel: \"Get Started\",\n    featureGroups: [\n      {\n        title: \"Workspace\",\n        features: [\n          \"Unlimited workspaces\",\n          \"Custom automations\",\n          \"Role-based access\",\n        ],\n      },\n      {\n        title: \"Support\",\n        features: [\n          \"API access & webhooks\",\n          \"Advanced analytics\",\n          \"Priority chat support\",\n        ],\n      },\n    ],\n  },\n  {\n    id: \"pro\",\n    name: \"Pro\",\n    description: \"For organizations scaling operations.\",\n    monthly: { price: \"$119\" },\n    yearly: { price: \"$95\" },\n    priceSuffix: \"Per user/month\",\n    ctaLabel: \"Get Started\",\n    featureGroups: [\n      {\n        title: \"Workspace\",\n        features: [\n          \"Everything in Growth\",\n          \"Audit logs & exports\",\n          \"Admin policies\",\n        ],\n      },\n      {\n        title: \"Support\",\n        features: [\n          \"SSO and SAML\",\n          \"Dedicated success contact\",\n          \"Custom onboarding\",\n        ],\n      },\n    ],\n  },\n]\n",
      "type": "registry:lib",
      "target": "app/pricing-section-v3/lib/pricing-plans.ts"
    }
  ],
  "type": "registry:block"
}