{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "header-17",
  "type": "registry:block",
  "description": "Minimal agency header whose animated Menu button reveals a full-width inverted overlay with large links and contact details.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [],
  "files": [
    {
      "path": "registry/designali/blocks/header/header-17.tsx",
      "content": "\"use client\"\n\nimport { useEffect, useState } from \"react\"\nimport {\n  ArrowUpRight,\n} from \"@designali/icons\"\n\nconst links = [\n  { label: \"Work\", count: \"24\" },\n  { label: \"Studio\", count: \"\" },\n  { label: \"Services\", count: \"8\" },\n  { label: \"Blogs\", count: \"41\" },\n  { label: \"Contact\", count: \"\" },\n]\n\nexport default function Header17() {\n  const [open, setOpen] = useState(false)\n\n  useEffect(() => {\n    function onKey(event: KeyboardEvent) {\n      if (event.key === \"Escape\") setOpen(false)\n    }\n    window.addEventListener(\"keydown\", onKey)\n    return () => window.removeEventListener(\"keydown\", onKey)\n  }, [])\n\n  return (\n    <section className=\"relative w-full bg-background\">\n      <header className=\"relative z-40\">\n        <div className=\"mx-auto flex h-20 max-w-7xl items-center justify-between px-6\">\n          <a\n            href=\"#\"\n            className={`text-lg font-semibold tracking-tight transition-colors ${open ? \"text-background\" : \"\"}`}\n          >\n            designali\n          </a>\n          <button\n            type=\"button\"\n            aria-expanded={open}\n            onClick={() => setOpen(!open)}\n            className={`flex items-center gap-3 text-sm transition-colors ${open ? \"text-background\" : \"\"}`}\n          >\n            {open ? \"Close\" : \"Menu\"}\n            <span className=\"relative block h-3 w-6\">\n              <span\n                className={`absolute inset-x-0 h-px bg-current transition-transform duration-300 ${\n                  open ? \"top-1.5 rotate-45\" : \"top-0\"\n                }`}\n              />\n              <span\n                className={`absolute inset-x-0 h-px bg-current transition-transform duration-300 ${\n                  open ? \"top-1.5 -rotate-45\" : \"top-3\"\n                }`}\n              />\n            </span>\n          </button>\n        </div>\n      </header>\n\n      <div\n        aria-hidden={!open}\n        className={`absolute inset-x-0 top-0 z-30 min-h-[560px] bg-foreground text-background transition-[clip-path] duration-500 ease-out ${\n          open ? \"[clip-path:inset(0_0_0_0)]\" : \"pointer-events-none [clip-path:inset(0_0_100%_0)]\"\n        }`}\n      >\n        <div className=\"mx-auto grid max-w-7xl gap-12 px-6 pt-28 pb-12 md:grid-cols-[2fr_1fr]\">\n          <nav className=\"flex flex-col\">\n            {links.map((link) => (\n              <a\n                key={link.label}\n                href=\"#\"\n                tabIndex={open ? 0 : -1}\n                className=\"group flex items-start gap-3 border-b border-background/15 py-3 text-4xl font-medium tracking-tight transition-opacity hover:opacity-70 sm:text-6xl\"\n              >\n                {link.label}\n                {link.count && <sup className=\"mt-2 text-xs font-normal opacity-60\">{link.count}</sup>}\n                <ArrowUpRight className=\"ms-auto mt-2 size-6 opacity-0 transition-opacity group-hover:opacity-100\" />\n              </a>\n            ))}\n          </nav>\n          <div className=\"space-y-8 text-sm md:pt-4\">\n            <div>\n              <p className=\"opacity-50\">New business</p>\n              <a href=\"#\" tabIndex={open ? 0 : -1} className=\"mt-1 block hover:underline\">\n                hello@designali.com\n              </a>\n            </div>\n            <div>\n              <p className=\"opacity-50\">Founder</p>\n              <p className=\"mt-1 leading-6\">\n                Ali Imam\n                <br />\n                Design engineer\n              </p>\n            </div>\n            <div>\n              <p className=\"opacity-50\">Follow</p>\n              <div className=\"mt-1 flex gap-4\">\n                {[\n                  [\"Instagram\", \"https://www.instagram.com/designali.code/\"],\n                  [\"X\", \"https://x.com/designali_com\"],\n                  [\"LinkedIn\", \"https://www.linkedin.com/company/designali-com/\"],\n                ].map(([item, href]) => (\n                  <a key={item} href={href} tabIndex={open ? 0 : -1} className=\"hover:underline\">\n                    {item}\n                  </a>\n                ))}\n              </div>\n            </div>\n          </div>\n        </div>\n      </div>\n\n      <div className=\"mx-auto max-w-7xl px-6 pt-10 pb-24\">\n        <p className=\"max-w-2xl text-3xl font-medium tracking-tight text-muted-foreground md:text-5xl\">\n          Brand identity, UI/UX and production-ready websites. Design se code tak.\n        </p>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "600px"
  },
  "categories": [
    "header"
  ]
}