{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "newsletter",
  "title": "Newsletter signup",
  "description": "A centered newsletter-signup section — an email field, subscribe action, and social proof.",
  "registryDependencies": [
    "input",
    "label",
    "button",
    "https://www.quilldesignsystem.com/r/icon.json"
  ],
  "files": [
    {
      "path": "registry/blocks/newsletter.tsx",
      "content": "'use client'\nimport { Input } from '@/components/ui/input'\nimport { Label } from '@/components/ui/label'\nimport { Button } from '@/components/ui/button'\nimport { Icon } from '@/components/ui/icon'\n\n/** A centered newsletter-signup section — an email field, subscribe action, and social proof. */\nexport function Newsletter() {\n  return (\n    <section className=\"flex w-card-xl flex-col items-center gap-4 rounded-xl bg-card p-10 text-center ring-1 ring-foreground/10\">\n      <span className=\"flex size-10 items-center justify-center rounded-full bg-muted text-muted-foreground\">\n        <Icon name=\"mail\" className=\"size-icon-xl\" aria-hidden />\n      </span>\n      <div className=\"flex flex-col gap-1\">\n        <h2 className=\"font-heading text-xl text-foreground\">The Brief</h2>\n        <p className=\"text-sm leading-reading text-pretty text-muted-foreground\">\n          One letter a month on design systems and the teams that ship them. No spam, no noise —\n          unsubscribe any time.\n        </p>\n      </div>\n      <form className=\"flex w-full max-w-card items-start gap-2\" onSubmit={(e) => e.preventDefault()}>\n        <div className=\"flex flex-1 flex-col gap-1 text-left\">\n          <Label htmlFor=\"newsletter-email\" className=\"sr-only\">\n            Email address\n          </Label>\n          <Input id=\"newsletter-email\" type=\"email\" placeholder=\"you@example.com\" />\n        </div>\n        <Button type=\"submit\">Subscribe</Button>\n      </form>\n      <p className=\"text-xs text-muted-foreground\">Joined by 4,200 fellow practitioners.</p>\n    </section>\n  )\n}\n",
      "type": "registry:component",
      "target": "components/quill/newsletter.tsx"
    }
  ],
  "meta": {
    "intent": [
      "marketing",
      "form"
    ],
    "use_when": "You need an email-capture section with social proof to grow a list.",
    "not_for": "you need more than an email — name, topic, a message — this pattern is intentionally a single field → contact-form; the signup is one small element within a full site footer, not its own standalone section → footer"
  },
  "docs": "A centered newsletter-signup section — an email field, subscribe action, and social proof. Do: Say plainly what subscribers are signing up for and that they can leave any time (\"No spam, no noise — unsubscribe any time.\"). Don't: Ask for an email with no context on frequency or an easy way out. Use contact-form when you need more than an email — name, topic, a message — this pattern is intentionally a single field. Use footer when the signup is one small element within a full site footer, not its own standalone section.",
  "categories": [
    "marketing",
    "form"
  ],
  "type": "registry:block"
}