{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "header-4",
  "title": "Product Dropdown Menu",
  "description": "Header with a Product navigation menu dropdown listing Analytics, Automations, and Integrations, plus inline links, sign-in and CTA buttons, and a mobile sheet.",
  "dependencies": [
    "@base-ui/react"
  ],
  "registryDependencies": [
    "button",
    "navigation-menu",
    "sheet"
  ],
  "files": [
    {
      "path": "registry/blocks/header/4/header-block.tsx",
      "content": "\"use client\"\nimport { Button } from \"@/components/ui/button\"\nimport {\n  NavigationMenu,\n  NavigationMenuContent,\n  NavigationMenuItem,\n  NavigationMenuLink,\n  NavigationMenuList,\n  NavigationMenuTrigger,\n} from \"@/components/ui/navigation-menu\"\nimport {\n  Sheet,\n  SheetClose,\n  SheetContent,\n  SheetHeader,\n  SheetTitle,\n  SheetTrigger,\n} from \"@/components/ui/sheet\"\nimport { IconPlaceholder } from \"@/components/icons/icon-placeholder\"\n\nconst productLinks = [\n  { title: \"Analytics\", description: \"Understand your traffic\" },\n  { title: \"Automations\", description: \"Put workflows on autopilot\" },\n  { title: \"Integrations\", description: \"Connect your stack\" },\n]\n\nconst navLinks = [\"Docs\", \"Pricing\", \"Customers\"]\n\nfunction Logo({ className }: { className?: string }) {\n  return (\n    <svg\n      viewBox=\"0 0 24 24\"\n      fill=\"currentColor\"\n      aria-hidden=\"true\"\n      className={className}\n    >\n      <rect x=\"3\" y=\"3\" width=\"8\" height=\"8\" transform=\"rotate(-6 7 7)\" />\n      <rect x=\"3\" y=\"13\" width=\"8\" height=\"8\" transform=\"rotate(5 7 17)\" />\n      <rect x=\"13\" y=\"13\" width=\"8\" height=\"8\" transform=\"rotate(-4 17 17)\" />\n      <rect x=\"13\" y=\"3\" width=\"8\" height=\"8\" transform=\"rotate(15 17 7)\" />\n    </svg>\n  )\n}\n\nexport default function HeaderBlock() {\n  return (\n    <header className=\"sticky top-0 z-50 flex h-16 w-full items-center gap-6 border-b border-border bg-background/85 px-4 text-foreground backdrop-blur sm:px-6\">\n      <a href=\"#\" className=\"flex items-center gap-2\">\n        <Logo className=\"size-6 text-primary\" />\n        <span className=\"text-lg font-bold tracking-tight\">Acme</span>\n      </a>\n\n      <NavigationMenu className=\"hidden md:flex\">\n        <NavigationMenuList>\n          <NavigationMenuItem>\n            <NavigationMenuTrigger className=\"h-9 gap-1 px-2.5 text-sm font-medium text-muted-foreground hover:text-foreground data-popup-open:text-foreground\">\n              Product\n            </NavigationMenuTrigger>\n            <NavigationMenuContent>\n              <ul className=\"flex w-64 flex-col p-1\">\n                {productLinks.map((link) => (\n                  <li key={link.title}>\n                    <NavigationMenuLink\n                      href=\"#\"\n                      className=\"flex-col items-start gap-0.5 p-2.5\"\n                    >\n                      <span className=\"text-sm font-medium text-foreground\">\n                        {link.title}\n                      </span>\n                      <span className=\"text-xs text-muted-foreground\">\n                        {link.description}\n                      </span>\n                    </NavigationMenuLink>\n                  </li>\n                ))}\n              </ul>\n            </NavigationMenuContent>\n          </NavigationMenuItem>\n          {navLinks.map((link) => (\n            <NavigationMenuItem key={link}>\n              <NavigationMenuLink\n                href=\"#\"\n                className=\"h-9 items-center px-2.5 text-sm font-medium text-muted-foreground hover:text-foreground data-active:text-foreground\"\n              >\n                {link}\n              </NavigationMenuLink>\n            </NavigationMenuItem>\n          ))}\n        </NavigationMenuList>\n      </NavigationMenu>\n\n      <div className=\"ml-auto flex items-center gap-2\">\n        <Button\n          variant=\"ghost\"\n          render={<a href=\"#\" />}\n          nativeButton={false}\n          className=\"hidden md:inline-flex\"\n        >\n          Sign in\n        </Button>\n        <Button\n          render={<a href=\"#\" />}\n          nativeButton={false}\n          className=\"hidden md:inline-flex\"\n        >\n          Get Started\n          <IconPlaceholder\n            lucide=\"ChevronRight\"\n            tabler=\"IconChevronRight\"\n            hugeicons=\"ArrowRight01Icon\"\n            phosphor=\"CaretRight\"\n            remixicon=\"RiArrowRightSLine\"\n            data-icon=\"inline-end\"\n            aria-hidden=\"true\"\n          />\n        </Button>\n\n        <Sheet>\n          <SheetTrigger\n            render={\n              <Button variant=\"outline\" size=\"icon\" className=\"md:hidden\" />\n            }\n            aria-label=\"Open menu\"\n          >\n            <IconPlaceholder\n              lucide=\"Menu\"\n              tabler=\"IconMenu\"\n              hugeicons=\"MenuIcon\"\n              phosphor=\"List\"\n              remixicon=\"RiMenuLine\"\n              aria-hidden=\"true\"\n            />\n          </SheetTrigger>\n          <SheetContent side=\"right\" className=\"w-full sm:max-w-xs\">\n            <SheetHeader>\n              <SheetTitle className=\"flex items-center gap-2\">\n                <Logo className=\"size-5 text-primary\" />\n                Acme\n              </SheetTitle>\n            </SheetHeader>\n            <nav className=\"flex flex-col px-2\">\n              <span className=\"px-2 pt-2 pb-1 text-[10px] font-semibold tracking-widest text-muted-foreground uppercase\">\n                Product\n              </span>\n              {productLinks.map((link) => (\n                <SheetClose\n                  key={link.title}\n                  render={<a href=\"#\" />}\n                  nativeButton={false}\n                  className=\"rounded-md px-2 py-2 text-sm font-medium text-muted-foreground transition-colors hover:bg-muted hover:text-foreground\"\n                >\n                  {link.title}\n                </SheetClose>\n              ))}\n              {navLinks.map((link) => (\n                <SheetClose\n                  key={link}\n                  render={<a href=\"#\" />}\n                  nativeButton={false}\n                  className=\"rounded-md px-2 py-2.5 text-sm font-medium text-muted-foreground transition-colors hover:bg-muted hover:text-foreground\"\n                >\n                  {link}\n                </SheetClose>\n              ))}\n            </nav>\n            <div className=\"mt-auto p-4\">\n              <Button\n                render={<a href=\"#\" />}\n                nativeButton={false}\n                className=\"w-full\"\n              >\n                Get Started\n              </Button>\n            </div>\n          </SheetContent>\n        </Sheet>\n      </div>\n    </header>\n  )\n}\n",
      "type": "registry:component",
      "target": "components/blocks/header-4.tsx"
    }
  ],
  "meta": {
    "height": "420px",
    "tier": "free"
  },
  "docs": "Requires a `base-*` style in components.json (the `shadcn init` default). Legacy `new-york`/`radix-*` styles install Radix primitives, which reject the `render` prop this block uses.",
  "categories": [
    "header"
  ],
  "type": "registry:block"
}