{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "pricing-2",
  "title": "Two Plan Split Panel",
  "description": "Two plan pricing split into one panel, a filled Pro side beside a plain Starter side, each with price, feature checklist, and CTA, plus a billing toggle.",
  "dependencies": [
    "@base-ui/react"
  ],
  "registryDependencies": [
    "badge",
    "button",
    "separator"
  ],
  "files": [
    {
      "path": "registry/blocks/pricing/2/pricing-block.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { cn } from \"@/lib/utils\"\nimport { Badge } from \"@/components/ui/badge\"\nimport { Button } from \"@/components/ui/button\"\nimport { Separator } from \"@/components/ui/separator\"\nimport { IconPlaceholder } from \"@/components/icons/icon-placeholder\"\n\nconst STARTER_FEATURES = [\n  \"1 workspace\",\n  \"Up to 3 members\",\n  \"5 GB storage\",\n  \"Community support\",\n  \"Basic analytics\",\n]\n\nconst PRO_FEATURES = [\n  \"Unlimited workspaces\",\n  \"Up to 50 members\",\n  \"100 GB storage\",\n  \"Priority email support\",\n  \"Advanced analytics\",\n  \"Custom domain\",\n  \"Audit logs\",\n]\n\ntype Billing = \"monthly\" | \"annual\"\n\nexport default function PricingBlock() {\n  const [billing, setBilling] = React.useState<Billing>(\"monthly\")\n  const proPrice = billing === \"annual\" ? 23 : 29\n\n  return (\n    <section className=\"flex w-full items-center justify-center bg-background px-6 py-12 text-foreground\">\n      <div className=\"mx-auto w-full max-w-3xl\">\n        <div className=\"flex flex-col gap-4 pb-8 sm:flex-row sm:items-end sm:justify-between\">\n          <div className=\"flex flex-col gap-1\">\n            <p className=\"text-xs font-semibold tracking-widest text-muted-foreground uppercase\">\n              Pricing\n            </p>\n            <h2 className=\"font-heading text-2xl font-bold tracking-tight\">\n              Two plans. No surprises.\n            </h2>\n          </div>\n          <div\n            role=\"group\"\n            aria-label=\"Billing period\"\n            className=\"inline-flex items-center gap-1 self-start rounded-lg border border-border bg-muted/50 p-1 sm:self-auto\"\n          >\n            <button\n              type=\"button\"\n              onClick={() => setBilling(\"monthly\")}\n              aria-pressed={billing === \"monthly\"}\n              className={cn(\n                \"rounded-md px-4 py-1.5 text-sm font-medium transition-colors\",\n                billing === \"monthly\"\n                  ? \"bg-background text-foreground shadow-sm\"\n                  : \"text-muted-foreground hover:text-foreground\"\n              )}\n            >\n              Monthly\n            </button>\n            <button\n              type=\"button\"\n              onClick={() => setBilling(\"annual\")}\n              aria-pressed={billing === \"annual\"}\n              className={cn(\n                \"flex items-center gap-2 rounded-md px-4 py-1.5 text-sm font-medium transition-colors\",\n                billing === \"annual\"\n                  ? \"bg-background text-foreground shadow-sm\"\n                  : \"text-muted-foreground hover:text-foreground\"\n              )}\n            >\n              Annual\n              <Badge className=\"px-1.5 text-[10px] font-semibold\">-20%</Badge>\n            </button>\n          </div>\n        </div>\n\n        <div className=\"flex flex-col overflow-hidden rounded-xl ring-1 ring-border sm:flex-row\">\n          <div className=\"flex flex-1 flex-col gap-6 bg-primary p-8 text-primary-foreground\">\n            <div className=\"flex flex-col gap-3\">\n              <div className=\"flex items-center gap-3\">\n                <span className=\"text-base font-semibold\">Pro</span>\n                <Badge className=\"border-transparent bg-primary-foreground/20 text-primary-foreground\">\n                  Most Popular\n                </Badge>\n              </div>\n              <div className=\"flex items-baseline gap-1\">\n                <span className=\"text-5xl font-bold tracking-tight\">\n                  ${proPrice}\n                </span>\n                <span className=\"text-sm opacity-70\">/Month</span>\n              </div>\n              <p className=\"text-sm opacity-75\">\n                For growing teams that ship daily and need more room to scale.\n              </p>\n            </div>\n\n            <Separator className=\"bg-primary-foreground/20\" />\n\n            <ul className=\"flex flex-1 flex-col gap-3\">\n              {PRO_FEATURES.map((feature) => (\n                <li key={feature} className=\"flex items-center gap-2 text-sm\">\n                  <IconPlaceholder\n                    lucide=\"Check\"\n                    tabler=\"IconCheck\"\n                    hugeicons=\"Tick02Icon\"\n                    phosphor=\"Check\"\n                    remixicon=\"RiCheckLine\"\n                    data-icon=\"inline-start\"\n                    className=\"size-4 shrink-0 opacity-80\"\n                    aria-hidden=\"true\"\n                  />\n                  {feature}\n                </li>\n              ))}\n            </ul>\n\n            <Button\n              nativeButton={false}\n              variant=\"secondary\"\n              size=\"lg\"\n              className=\"w-full active:scale-[0.97] transition-transform duration-[160ms] ease-[cubic-bezier(0.23,1,0.32,1)]\"\n              render={<a href=\"#\" />}\n            >\n              Start Free Trial\n              <IconPlaceholder\n                lucide=\"ArrowRight\"\n                tabler=\"IconArrowRight\"\n                hugeicons=\"ArrowRightIcon\"\n                phosphor=\"ArrowRight\"\n                remixicon=\"RiArrowRightLine\"\n                data-icon=\"inline-end\"\n                aria-hidden=\"true\"\n              />\n            </Button>\n          </div>\n\n          <div className=\"flex flex-1 flex-col gap-6 bg-card p-8\">\n            <div className=\"flex flex-col gap-3\">\n              <span className=\"text-base font-semibold\">Starter</span>\n              <div className=\"flex items-baseline gap-1\">\n                <span className=\"text-5xl font-bold tracking-tight\">$0</span>\n                <span className=\"text-sm text-muted-foreground\">/Month</span>\n              </div>\n              <p className=\"text-sm text-muted-foreground\">\n                For individuals and side projects just getting off the ground.\n              </p>\n            </div>\n\n            <Separator />\n\n            <ul className=\"flex flex-1 flex-col gap-3\">\n              {STARTER_FEATURES.map((feature) => (\n                <li\n                  key={feature}\n                  className=\"flex items-center gap-2 text-sm text-foreground\"\n                >\n                  <IconPlaceholder\n                    lucide=\"Check\"\n                    tabler=\"IconCheck\"\n                    hugeicons=\"Tick02Icon\"\n                    phosphor=\"Check\"\n                    remixicon=\"RiCheckLine\"\n                    data-icon=\"inline-start\"\n                    className=\"size-4 shrink-0 text-muted-foreground\"\n                    aria-hidden=\"true\"\n                  />\n                  {feature}\n                </li>\n              ))}\n            </ul>\n\n            <Button\n              nativeButton={false}\n              variant=\"outline\"\n              size=\"lg\"\n              className=\"w-full active:scale-[0.97] transition-transform duration-[160ms] ease-[cubic-bezier(0.23,1,0.32,1)]\"\n              render={<a href=\"#\" />}\n            >\n              Get Started Free\n            </Button>\n          </div>\n        </div>\n\n        <p className=\"mt-4 text-center text-xs text-muted-foreground\">\n          No credit card required. Upgrade or cancel anytime.\n        </p>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component",
      "target": "components/blocks/pricing-2.tsx"
    }
  ],
  "meta": {
    "height": "741px",
    "tier": "free"
  },
  "docs": "Requires a `base-*` style in components.json (the `shadcn init` default). Legacy `new-york`/`radix-*` styles install Radix primitives, which reject the `render` prop this block uses.",
  "categories": [
    "pricing"
  ],
  "type": "registry:block"
}