{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "header-16",
  "type": "registry:block",
  "description": "App workspace header with team and project breadcrumb switcher, branch and deploy status, and a tab bar.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "button"
  ],
  "files": [
    {
      "path": "registry/designali/blocks/header/header-16.tsx",
      "content": "\"use client\"\n\nimport { useState } from \"react\"\nimport {\n  Check,\n  ChevronsUpDown,\n  GitBranch,\n  Rocket,\n  Slash,\n} from \"@designali/icons\"\n\nimport { Button } from \"@workspace/ui/components/button\"\nimport { Logo } from \"@/src/components/logo\"\n\nconst projects = [\"designali-web\", \"portfolio-template\", \"dalim-ui\"]\nconst tabs = [\"Overview\", \"Deployments\", \"Logs\", \"Analytics\", \"Settings\"]\n\nexport default function Header16() {\n  const [project, setProject] = useState(projects[0]!)\n  const [open, setOpen] = useState(false)\n  const [tab, setTab] = useState(tabs[0]!)\n\n  return (\n    <section className=\"w-full bg-background\">\n      <header className=\"border-b\">\n        <div className=\"mx-auto flex h-14 max-w-7xl items-center gap-2 px-6\">\n          <a href=\"#\" aria-label=\"Designali home\" className=\"flex size-7 shrink-0 items-center justify-center bg-foreground\">\n            <Logo className=\"size-5\" />\n          </a>\n          <Slash className=\"size-4 shrink-0 -rotate-12 text-muted-foreground/50\" />\n          <a href=\"#\" className=\"hidden items-center gap-2 text-sm sm:flex\">\n            <span className=\"flex size-5 items-center justify-center rounded-full bg-gradient-to-br from-chart-2 to-chart-4 text-[9px] font-medium text-white\">\n              DS\n            </span>\n            Designali Studio\n          </a>\n          <Slash className=\"hidden size-4 shrink-0 -rotate-12 text-muted-foreground/50 sm:block\" />\n          <div className=\"relative min-w-0\">\n            <button\n              type=\"button\"\n              aria-expanded={open}\n              onClick={() => setOpen(!open)}\n              className=\"flex min-w-0 items-center gap-1.5 px-1.5 py-1 text-sm font-medium hover:bg-muted\"\n            >\n              <span className=\"truncate\">{project}</span>\n              <ChevronsUpDown className=\"size-3.5 shrink-0 text-muted-foreground\" />\n            </button>\n            {open && (\n              <ul className=\"absolute start-0 top-full z-30 mt-1 w-56 border bg-background p-1 shadow-lg\">\n                <li className=\"px-2 py-1.5 text-xs text-muted-foreground\">Projects</li>\n                {projects.map((item) => (\n                  <li key={item}>\n                    <button\n                      type=\"button\"\n                      onClick={() => {\n                        setProject(item)\n                        setOpen(false)\n                      }}\n                      className=\"flex w-full items-center justify-between px-2 py-1.5 text-start text-sm hover:bg-muted\"\n                    >\n                      {item}\n                      {item === project && <Check className=\"size-3.5\" />}\n                    </button>\n                  </li>\n                ))}\n              </ul>\n            )}\n          </div>\n          <span className=\"ms-1 hidden items-center gap-1.5 border px-2 py-0.5 font-sans text-[11px] text-muted-foreground md:flex\">\n            <GitBranch className=\"size-3\" />\n            main\n          </span>\n          <span className=\"hidden items-center gap-1.5 text-xs text-muted-foreground lg:flex\">\n            <span className=\"size-1.5 rounded-full bg-primary\" />\n            Ready, 4m ago\n          </span>\n          <div className=\"ms-auto flex shrink-0 items-center gap-2\">\n            <a href=\"#\" className=\"hidden text-sm text-muted-foreground hover:text-foreground md:block\">\n              Feedback\n            </a>\n            <Button size=\"md\">\n              <Rocket />\n              <span className=\"hidden sm:inline\">Deploy</span>\n            </Button>\n            <span className=\"flex size-8 items-center justify-center rounded-full bg-gradient-to-br from-chart-1 to-chart-5 text-[10px] font-medium text-white\">\n              AI\n            </span>\n          </div>\n        </div>\n        <nav className=\"mx-auto flex max-w-7xl gap-1 overflow-x-auto px-4\">\n          {tabs.map((item) => (\n            <button\n              key={item}\n              type=\"button\"\n              onClick={() => setTab(item)}\n              className={\n                item === tab\n                  ? \"shrink-0 border-b-2 border-foreground px-3 py-2.5 text-sm\"\n                  : \"shrink-0 border-b-2 border-transparent px-3 py-2.5 text-sm text-muted-foreground hover:text-foreground\"\n              }\n            >\n              {item}\n            </button>\n          ))}\n        </nav>\n      </header>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "320px"
  },
  "categories": [
    "header"
  ]
}