{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "forms-06",
  "type": "registry:block",
  "description": "Inverted newsletter band with topic checkboxes and inline email signup.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "button",
    "checkbox",
    "input",
    "label"
  ],
  "files": [
    {
      "path": "registry/designali/blocks/forms/forms-06.tsx",
      "content": "import {\n  ArrowRight,\n  Mail,\n} from \"@designali/icons\"\n\nimport { Button } from \"@workspace/ui/components/button\"\nimport { Checkbox } from \"@workspace/ui/components/checkbox\"\nimport { Input } from \"@workspace/ui/components/input\"\nimport { Label } from \"@workspace/ui/components/label\"\n\nconst topics = [\n  { id: \"craft\", title: \"New blocks and templates\", cadence: \"Weekly\", checked: true },\n  { id: \"teardowns\", title: \"Design se code tak notes\", cadence: \"Biweekly\", checked: true },\n  { id: \"jobs\", title: \"Icons, logos and vectors drops\", cadence: \"Monthly\", checked: false },\n]\n\nexport default function Forms06() {\n  return (\n    <section className=\"w-full bg-foreground py-20 text-background\">\n      <div className=\"mx-auto grid max-w-7xl gap-12 px-6 lg:grid-cols-2 lg:items-end\">\n        <div>\n          <div className=\"flex size-10 items-center justify-center border border-background/20\">\n            <Mail className=\"size-4\" />\n          </div>\n          <h2 className=\"mt-8 text-4xl leading-tight font-semibold tracking-tight md:text-6xl\">\n            The Designali Letter\n          </h2>\n          <p className=\"mt-6 max-w-md text-sm leading-6 opacity-70\">\n            Short notes from Ali Imam on design and code, plus the newest\n            Designali templates, blocks and resources. No sponsors, ever.\n          </p>\n        </div>\n\n        <form className=\"space-y-6\">\n          <fieldset className=\"divide-y divide-background/15 border border-background/15\">\n            <legend className=\"sr-only\">Choose what you receive</legend>\n            {topics.map((topic) => (\n              <Label\n                key={topic.id}\n                className=\"flex cursor-pointer items-center gap-4 p-4 hover:bg-background/5\"\n              >\n                <Checkbox\n                  defaultChecked={topic.checked}\n                  className=\"border-background/40 data-checked:border-background data-checked:bg-background data-checked:text-foreground dark:data-checked:bg-background\"\n                />\n                <span className=\"flex-1 text-sm\">{topic.title}</span>\n                <span className=\"font-sans text-[10px] tracking-wider uppercase opacity-60\">\n                  {topic.cadence}\n                </span>\n              </Label>\n            ))}\n          </fieldset>\n          <div className=\"flex flex-col gap-2 sm:flex-row\">\n            <Label htmlFor=\"f6-email\" className=\"sr-only\">\n              Email address\n            </Label>\n            <Input\n              id=\"f6-email\"\n              type=\"email\"\n              required\n              placeholder=\"you@example.com\"\n              className=\"h-12 border-background/20 bg-transparent text-background placeholder:text-background/50 dark:bg-transparent\"\n            />\n            <Button\n              type=\"submit\"\n              size=\"lg\"\n              className=\"bg-background text-foreground hover:bg-background/90\"\n            >\n              Subscribe\n              <ArrowRight />\n            </Button>\n          </div>\n          <p className=\"text-xs opacity-60\">\n            One click to unsubscribe. We never share your address.\n          </p>\n        </form>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "600px"
  },
  "categories": [
    "forms"
  ]
}