{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "call-to-action-10",
  "type": "registry:block",
  "description": "Split pricing teaser with a monthly or yearly switch that updates the price and savings line.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "button",
    "switch"
  ],
  "files": [
    {
      "path": "registry/designali/blocks/call-to-action/call-to-action-10.tsx",
      "content": "\"use client\"\n\nimport { useState } from \"react\"\nimport {\n  ArrowRight,\n} from \"@designali/icons\"\n\nimport { Button } from \"@workspace/ui/components/button\"\nimport { Switch } from \"@workspace/ui/components/switch\"\n\nexport default function CallToAction10() {\n  const [yearly, setYearly] = useState(true)\n  const price = yearly ? 19 : 24\n\n  return (\n    <section className=\"w-full bg-muted/40 px-6 py-20 md:py-28\">\n      <div className=\"mx-auto grid max-w-6xl items-center gap-12 lg:grid-cols-2\">\n        <div>\n          <p className=\"text-xs tracking-[0.2em] text-muted-foreground uppercase\">\n            Simple pricing\n          </p>\n          <h2 className=\"mt-4 text-3xl font-medium tracking-tight md:text-5xl\">\n            One plan. Every feature. Cancel whenever.\n          </h2>\n          <p className=\"mt-5 max-w-md text-sm leading-7 text-muted-foreground\">\n            No seat minimums, no add-on menus, no sales calls. Pay per editor\n            and get every Designali template, block and icon.\n          </p>\n        </div>\n        <div className=\"border border-border bg-background p-8 md:p-10\">\n          <div className=\"flex items-center justify-between gap-4\">\n            <span className=\"text-sm font-medium\">Studio plan</span>\n            <label className=\"flex items-center gap-2 text-xs text-muted-foreground\">\n              Monthly\n              <Switch\n                checked={yearly}\n                onCheckedChange={setYearly}\n                aria-label=\"Bill yearly\"\n              />\n              Yearly\n            </label>\n          </div>\n          <div className=\"mt-8 flex items-end gap-2\">\n            <span className=\"text-6xl font-medium tracking-tight\">\n              ${price}\n            </span>\n            <span className=\"pb-2 text-sm text-muted-foreground\">\n              / editor / month\n            </span>\n          </div>\n          <p className=\"mt-2 h-5 text-xs text-chart-3 dark:text-primary\">\n            {yearly ? \"Billed $228 yearly. You save $60.\" : \"Switch to yearly and save 20%.\"}\n          </p>\n          <Button\n            size=\"lg\"\n            className=\"mt-8 w-full\"\n            nativeButton={false}\n            render={<a href=\"#\" />}\n          >\n            Get started\n            <ArrowRight data-icon=\"inline-end\" />\n          </Button>\n          <p className=\"mt-4 text-center text-xs text-muted-foreground\">\n            Free blocks and icons are always free on designali.com.\n          </p>\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "560px"
  },
  "categories": [
    "call-to-action"
  ]
}