{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "footer-20",
  "type": "registry:block",
  "description": "Bento footer grid with a newsletter tile, link tiles, address tile and an inverted social tile.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [],
  "files": [
    {
      "path": "registry/designali/blocks/footer/footer-20.tsx",
      "content": "\"use client\"\n\nimport { useState } from \"react\"\nimport {\n  ArrowRight,\n  AtSign,\n  Check,\n  Clock,\n  Mail,\n  MessageCircle,\n  Rss,\n} from \"@designali/icons\"\n\nconst groups = [\n  { title: \"Products\", links: [\"Templates\", \"Blocks\", \"Icons\", \"Pricing\"] },\n  { title: \"Studio\", links: [\"Work\", \"Blogs\", \"Docs\", \"Contact\"] },\n]\n\nexport default function Footer20() {\n  const [email, setEmail] = useState(\"\")\n  const [joined, setJoined] = useState(false)\n\n  return (\n    <footer className=\"w-full border-t bg-muted/30\">\n      <div className=\"mx-auto grid max-w-7xl gap-4 px-6 py-12 md:grid-cols-4 md:grid-rows-[auto_auto]\">\n        <div className=\"flex flex-col justify-between border bg-background p-6 md:col-span-2 md:row-span-2\">\n          <div>\n            <p className=\"flex items-center gap-2 text-lg font-semibold tracking-tight\">\n              <span className=\"size-4 rotate-45 bg-primary\" />\n              designali\n            </p>\n            <p className=\"mt-3 max-w-sm text-sm leading-6 text-muted-foreground\">\n              Design and development studio by Ali Imam. One monthly email\n              with new templates, blocks and nothing else.\n            </p>\n          </div>\n          {joined ? (\n            <p className=\"mt-10 flex items-center gap-2 text-sm\">\n              <Check className=\"size-4 text-primary dark:text-primary\" />\n              Thanks, see you next month.\n            </p>\n          ) : (\n            <form\n              onSubmit={(event) => {\n                event.preventDefault()\n                if (email) setJoined(true)\n              }}\n              className=\"mt-10 flex border focus-within:border-foreground/40\"\n            >\n              <input\n                type=\"email\"\n                required\n                value={email}\n                onChange={(event) => setEmail(event.target.value)}\n                placeholder=\"Email address\"\n                aria-label=\"Email address\"\n                className=\"h-11 w-full min-w-0 bg-transparent px-3 text-sm outline-none placeholder:text-muted-foreground\"\n              />\n              <button\n                type=\"submit\"\n                aria-label=\"Subscribe\"\n                className=\"flex w-11 shrink-0 items-center justify-center bg-foreground text-background\"\n              >\n                <ArrowRight className=\"size-4\" />\n              </button>\n            </form>\n          )}\n        </div>\n\n        {groups.map((group) => (\n          <div key={group.title} className=\"border bg-background p-6\">\n            <p className=\"text-xs text-muted-foreground\">{group.title}</p>\n            <ul className=\"mt-4 space-y-2 text-sm\">\n              {group.links.map((link) => (\n                <li key={link}>\n                  <a href=\"#\" className=\"hover:underline\">\n                    {link}\n                  </a>\n                </li>\n              ))}\n            </ul>\n          </div>\n        ))}\n\n        <div className=\"border bg-background p-6 text-sm\">\n          <p className=\"flex items-start gap-2 text-muted-foreground\">\n            <Mail className=\"mt-0.5 size-4 shrink-0\" />\n            hello@designali.com\n          </p>\n          <p className=\"mt-3 flex items-center gap-2 text-muted-foreground\">\n            <Clock className=\"size-4 shrink-0\" />\n            Support via support@designali.com\n          </p>\n        </div>\n\n        <div className=\"flex items-center justify-between gap-4 border bg-foreground p-6 text-background\">\n          <p className=\"text-sm\">Follow along</p>\n          <div className=\"flex gap-1\">\n            {[\n              { label: \"Designali on Instagram\", icon: MessageCircle, href: \"https://www.instagram.com/designali.code/\" },\n              { label: \"Designali on X\", icon: AtSign, href: \"https://x.com/designali_com\" },\n              { label: \"Designali blogs\", icon: Rss, href: \"/blogs\" },\n            ].map((item) => (\n              <a\n                key={item.label}\n                href={item.href}\n                aria-label={item.label}\n                className=\"flex size-9 items-center justify-center border border-background/20 transition-colors hover:bg-background/10\"\n              >\n                <item.icon className=\"size-4\" />\n              </a>\n            ))}\n          </div>\n        </div>\n      </div>\n      <div className=\"mx-auto flex max-w-7xl flex-col gap-2 px-6 pb-8 text-xs text-muted-foreground sm:flex-row sm:justify-between\">\n        <p>© 2026 Designali</p>\n        <div className=\"flex gap-5\">\n          <a href=\"/contact\" className=\"hover:text-foreground\">Contact</a>\n          <a href=\"/docs/legal/terms\" className=\"hover:text-foreground\">Terms</a>\n          <a href=\"/pricing\" className=\"hover:text-foreground\">Pricing</a>\n        </div>\n      </div>\n    </footer>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "520px"
  },
  "categories": [
    "footer"
  ]
}