{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "navigation-18",
  "type": "registry:block",
  "description": "Nav with an industries mega menu showing a list of sectors beside detail links and a proof card.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "button"
  ],
  "files": [
    {
      "path": "registry/designali/blocks/navigation/navigation-18.tsx",
      "content": "\"use client\"\n\nimport { useState } from \"react\"\nimport {\n  ArrowRight,\n  Boxes,\n  ChevronDown,\n  Code,\n  Palette,\n  PenTool,\n  Sparkles,\n} from \"@designali/icons\"\n\nimport { Button } from \"@workspace/ui/components/button\"\nimport { cn } from \"@workspace/ui/lib/utils\"\n\nconst industries = [\n  {\n    icon: Palette,\n    label: \"Brand identity\",\n    blurb: \"Logos, type and colour systems that feel unmistakably yours.\",\n    links: [\"Logo design\", \"Visual identity\", \"Brand guidelines\", \"Rebrands\"],\n    stat: \"Guidelines and source files included\",\n  },\n  {\n    icon: PenTool,\n    label: \"UI/UX design\",\n    blurb: \"Interfaces that look great and feel intuitive.\",\n    links: [\"Product design\", \"Design systems\", \"Prototypes\", \"UX audits\"],\n    stat: \"Figma files that match the code\",\n  },\n  {\n    icon: Code,\n    label: \"Web development\",\n    blurb: \"Production-ready websites with Next.js and Tailwind CSS.\",\n    links: [\"Marketing sites\", \"Landing pages\", \"Web apps\", \"CMS setup\"],\n    stat: \"Built on 460+ Designali blocks\",\n  },\n  {\n    icon: Boxes,\n    label: \"CGI, 3D and motion\",\n    blurb: \"Renders, motion design and visuals for launches.\",\n    links: [\"Product renders\", \"Motion design\", \"Showreels\", \"3D illustrations\"],\n    stat: \"Art direction from concept to final frame\",\n  },\n  {\n    icon: Sparkles,\n    label: \"AI workflows\",\n    blurb: \"AI-assisted research, design and development.\",\n    links: [\"Design automation\", \"Content pipelines\", \"Prototyping with AI\", \"Workflow audits\"],\n    stat: \"Faster from idea to launch\",\n  },\n]\n\nexport default function Navigation18() {\n  const [open, setOpen] = useState(true)\n  const [active, setActive] = useState(0)\n  const current = industries[active]!\n\n  return (\n    <section className=\"relative w-full bg-background\">\n      <nav className=\"relative border-b\">\n        <div className=\"mx-auto flex h-16 max-w-7xl items-center gap-8 px-6\">\n          <a href=\"#\" className=\"font-semibold tracking-tight\">designali</a>\n          <ul className=\"hidden items-center gap-1 text-sm md:flex\">\n            <li>\n              <button\n                type=\"button\"\n                onClick={() => setOpen(!open)}\n                aria-expanded={open}\n                className={cn(\n                  \"flex h-9 items-center gap-1 px-3 text-muted-foreground hover:text-foreground\",\n                  open && \"text-foreground\"\n                )}\n              >\n                Services\n                <ChevronDown className={cn(\"size-3.5 transition-transform\", open && \"rotate-180\")} />\n              </button>\n            </li>\n            {[\"Templates\", \"Work\", \"Pricing\"].map((link) => (\n              <li key={link}>\n                <a href=\"#\" className=\"flex h-9 items-center px-3 text-muted-foreground hover:text-foreground\">\n                  {link}\n                </a>\n              </li>\n            ))}\n          </ul>\n          <Button className=\"ms-auto\">Start a project</Button>\n        </div>\n\n        {open && (\n          <div className=\"absolute inset-x-0 top-full z-20 border-b bg-background\">\n            <div className=\"mx-auto grid max-w-7xl md:grid-cols-[280px_1fr]\">\n              <ul className=\"flex overflow-x-auto border-b py-2 md:block md:border-e md:border-b-0 md:py-4\">\n                {industries.map((industry, index) => (\n                  <li key={industry.label} className=\"shrink-0\">\n                    <button\n                      type=\"button\"\n                      onMouseEnter={() => setActive(index)}\n                      onFocus={() => setActive(index)}\n                      onClick={() => setActive(index)}\n                      className={cn(\n                        \"flex w-full items-center gap-3 px-6 py-3 text-start text-sm transition-colors\",\n                        active === index ? \"bg-muted font-medium\" : \"text-muted-foreground hover:text-foreground\"\n                      )}\n                    >\n                      <industry.icon className=\"size-4 shrink-0\" />\n                      <span className=\"whitespace-nowrap\">{industry.label}</span>\n                      <ArrowRight\n                        className={cn(\"ms-auto hidden size-3.5 md:block\", active !== index && \"invisible\")}\n                      />\n                    </button>\n                  </li>\n                ))}\n              </ul>\n              <div className=\"grid gap-8 p-6 md:grid-cols-[1fr_240px] md:p-8\">\n                <div>\n                  <p className=\"text-lg font-medium\">{current.label}</p>\n                  <p className=\"mt-1 text-sm text-muted-foreground\">{current.blurb}</p>\n                  <ul className=\"mt-6 grid gap-x-6 gap-y-1 sm:grid-cols-2\">\n                    {current.links.map((link) => (\n                      <li key={link}>\n                        <a href=\"#\" className=\"group flex items-center justify-between border-b py-3 text-sm\">\n                          {link}\n                          <ArrowRight className=\"size-3.5 -translate-x-1 opacity-0 transition-all group-hover:translate-x-0 group-hover:opacity-100\" />\n                        </a>\n                      </li>\n                    ))}\n                  </ul>\n                </div>\n                <a href=\"#\" className=\"flex flex-col justify-between gap-6 bg-foreground p-6 text-background\">\n                  <current.icon className=\"size-6\" />\n                  <span>\n                    <span className=\"block text-xs tracking-widest text-background/60 uppercase\">Includes</span>\n                    <span className=\"mt-1 block font-medium\">{current.stat}</span>\n                  </span>\n                </a>\n              </div>\n            </div>\n          </div>\n        )}\n      </nav>\n      <div className=\"h-[420px] md:h-80\" aria-hidden />\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "650px"
  },
  "categories": [
    "navigation"
  ]
}