{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "header-2",
  "title": "Centered Nav Three Column",
  "description": "Header with the logo pinned left, navigation links absolutely centered, and sign-in plus a primary CTA right, above a skeleton page-content placeholder.",
  "dependencies": [
    "@base-ui/react"
  ],
  "registryDependencies": [
    "button",
    "separator",
    "sheet",
    "skeleton"
  ],
  "files": [
    {
      "path": "registry/blocks/header/2/header-block.tsx",
      "content": "\"use client\"\nimport { Button } from \"@/components/ui/button\"\nimport { Separator } from \"@/components/ui/separator\"\nimport { Skeleton } from \"@/components/ui/skeleton\"\nimport {\n  Sheet,\n  SheetClose,\n  SheetContent,\n  SheetFooter,\n  SheetHeader,\n  SheetTitle,\n  SheetTrigger,\n} from \"@/components/ui/sheet\"\nimport { IconPlaceholder } from \"@/components/icons/icon-placeholder\"\n\nconst navLinks = [\n  { label: \"Products\", href: \"#\" },\n  { label: \"Solutions\", href: \"#\" },\n  { label: \"Pricing\", href: \"#\" },\n  { label: \"Docs\", href: \"#\" },\n  { label: \"Blog\", href: \"#\" },\n]\n\nexport default function HeaderBlock() {\n  return (\n    <section className=\"flex min-h-svh w-full flex-col bg-background text-foreground\">\n      <header className=\"relative flex h-16 w-full items-center border-b border-border px-6\">\n        <a href=\"#\" className=\"flex shrink-0 items-center gap-2.5\">\n          <svg\n            viewBox=\"0 0 24 24\"\n            fill=\"currentColor\"\n            aria-hidden=\"true\"\n            className=\"size-6 shrink-0 text-primary\"\n          >\n            <rect x=\"3\" y=\"3\" width=\"8\" height=\"8\" transform=\"rotate(-6 7 7)\" />\n            <rect\n              x=\"3\"\n              y=\"13\"\n              width=\"8\"\n              height=\"8\"\n              transform=\"rotate(5 7 17)\"\n            />\n            <rect\n              x=\"13\"\n              y=\"13\"\n              width=\"8\"\n              height=\"8\"\n              transform=\"rotate(-4 17 17)\"\n            />\n            <rect\n              x=\"13\"\n              y=\"3\"\n              width=\"8\"\n              height=\"8\"\n              transform=\"rotate(15 17 7)\"\n            />\n          </svg>\n          <span className=\"text-base font-bold tracking-tight\">Acme</span>\n        </a>\n\n        <nav className=\"absolute left-1/2 hidden -translate-x-1/2 items-center gap-1 md:flex\">\n          {navLinks.map((link) => (\n            <Button\n              key={link.label}\n              render={<a href={link.href} />}\n              nativeButton={false}\n              variant=\"ghost\"\n              className=\"text-muted-foreground hover:text-foreground\"\n            >\n              {link.label}\n            </Button>\n          ))}\n        </nav>\n\n        <div className=\"ml-auto flex shrink-0 items-center gap-3\">\n          <Button\n            render={<a href=\"#\" />}\n            nativeButton={false}\n            variant=\"ghost\"\n            className=\"hidden text-muted-foreground hover:text-foreground sm:inline-flex\"\n          >\n            Sign In\n          </Button>\n          <Separator orientation=\"vertical\" className=\"hidden h-5 sm:block\" />\n          <Button\n            render={<a href=\"#\" />}\n            nativeButton={false}\n            className=\"hidden sm:inline-flex\"\n          >\n            Start Free Trial\n            <IconPlaceholder\n              lucide=\"ArrowRight\"\n              tabler=\"IconArrowRight\"\n              hugeicons=\"ArrowRightIcon\"\n              phosphor=\"ArrowRight\"\n              remixicon=\"RiArrowRightLine\"\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.5\">\n                  <svg\n                    viewBox=\"0 0 24 24\"\n                    fill=\"currentColor\"\n                    aria-hidden=\"true\"\n                    className=\"size-5 shrink-0 text-primary\"\n                  >\n                    <rect\n                      x=\"3\"\n                      y=\"3\"\n                      width=\"8\"\n                      height=\"8\"\n                      transform=\"rotate(-6 7 7)\"\n                    />\n                    <rect\n                      x=\"3\"\n                      y=\"13\"\n                      width=\"8\"\n                      height=\"8\"\n                      transform=\"rotate(5 7 17)\"\n                    />\n                    <rect\n                      x=\"13\"\n                      y=\"13\"\n                      width=\"8\"\n                      height=\"8\"\n                      transform=\"rotate(-4 17 17)\"\n                    />\n                    <rect\n                      x=\"13\"\n                      y=\"3\"\n                      width=\"8\"\n                      height=\"8\"\n                      transform=\"rotate(15 17 7)\"\n                    />\n                  </svg>\n                  Acme\n                </SheetTitle>\n              </SheetHeader>\n              <nav className=\"flex flex-col px-2\">\n                {navLinks.map((link) => (\n                  <SheetClose\n                    key={link.label}\n                    render={<a href={link.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.label}\n                  </SheetClose>\n                ))}\n              </nav>\n              <SheetFooter>\n                <Button\n                  render={<a href=\"#\" />}\n                  nativeButton={false}\n                  variant=\"ghost\"\n                  className=\"w-full\"\n                >\n                  Sign In\n                </Button>\n                <Button\n                  render={<a href=\"#\" />}\n                  nativeButton={false}\n                  className=\"w-full\"\n                >\n                  Start Free Trial\n                  <IconPlaceholder\n                    lucide=\"ArrowRight\"\n                    tabler=\"IconArrowRight\"\n                    hugeicons=\"ArrowRightIcon\"\n                    phosphor=\"ArrowRight\"\n                    remixicon=\"RiArrowRightLine\"\n                    data-icon=\"inline-end\"\n                    aria-hidden=\"true\"\n                  />\n                </Button>\n              </SheetFooter>\n            </SheetContent>\n          </Sheet>\n        </div>\n      </header>\n\n      <div className=\"flex-1 px-6 py-10\">\n        <div className=\"mx-auto w-full max-w-4xl\">\n          <div className=\"flex flex-col gap-3\">\n            <Skeleton className=\"h-9 w-2/3 max-w-md\" />\n            <Skeleton className=\"h-4 w-full max-w-xl\" />\n            <Skeleton className=\"h-4 w-4/5 max-w-lg\" />\n          </div>\n          <div className=\"mt-8 grid grid-cols-1 gap-4 sm:grid-cols-2\">\n            {Array.from({ length: 4 }).map((_, i) => (\n              <Skeleton key={i} className=\"h-32\" />\n            ))}\n          </div>\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component",
      "target": "components/blocks/header-2.tsx"
    }
  ],
  "meta": {
    "height": "548px",
    "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"
}