{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "navigation-02",
  "type": "registry:block",
  "description": "An application sidebar with pinned projects and a user profile.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [],
  "files": [
    {
      "path": "registry/designali/blocks/navigation/navigation-02.tsx",
      "content": "import {\n  Bell,\n  CreditCard,\n  Folder,\n  House,\n  Inbox,\n  LogOut,\n  Settings,\n  Star,\n  User,\n} from \"@designali/icons\"\n\nimport { cn } from \"@workspace/ui/lib/utils\"\n\nimport { Logo } from \"@/src/components/logo\"\n\nconst groups = [\n  {\n    title: \"Workspace\",\n    links: [\n      { icon: House, label: \"Overview\", active: true },\n      { icon: Inbox, label: \"Inbox\", count: 12 },\n      { icon: Folder, label: \"Projects\" },\n      { icon: Star, label: \"Favorites\" },\n    ],\n  },\n  {\n    title: \"Account\",\n    links: [\n      { icon: User, label: \"Profile\" },\n      { icon: Bell, label: \"Notifications\", count: 3 },\n      { icon: CreditCard, label: \"Billing\" },\n      { icon: Settings, label: \"Settings\" },\n    ],\n  },\n]\n\nconst projects = [\n  { name: \"designali.com refresh\", color: \"bg-chart-1\" },\n  { name: \"Dalim UI kit\", color: \"bg-chart-2\" },\n  { name: \"Portfolio template\", color: \"bg-chart-3\" },\n]\n\nexport default function Navigation02() {\n  return (\n    <section className=\"flex min-h-[640px] w-full bg-background\">\n      <aside className=\"flex w-64 shrink-0 flex-col border-e bg-muted/30\">\n        <div className=\"flex h-14 items-center gap-2 border-b px-5 font-semibold\">\n          <Logo className=\"h-5 w-auto\" />\n          Designali\n        </div>\n        <nav className=\"flex-1 space-y-6 p-3\">\n          {groups.map((group) => (\n            <div key={group.title}>\n              <p className=\"px-3 pb-2 text-xs text-muted-foreground\">{group.title}</p>\n              <ul className=\"space-y-0.5\">\n                {group.links.map((link) => (\n                  <li key={link.label}>\n                    <a\n                      href=\"#\"\n                      className={cn(\n                        \"flex h-9 items-center gap-3 px-3 text-sm transition-colors hover:bg-muted\",\n                        link.active\n                          ? \"border-s-2 border-foreground bg-background font-medium\"\n                          : \"text-muted-foreground hover:text-foreground\"\n                      )}\n                    >\n                      <link.icon className=\"size-4\" />\n                      {link.label}\n                      {link.count && (\n                        <span className=\"ms-auto bg-foreground px-1.5 text-[10px] leading-4 text-background\">\n                          {link.count}\n                        </span>\n                      )}\n                    </a>\n                  </li>\n                ))}\n              </ul>\n            </div>\n          ))}\n          <div>\n            <p className=\"px-3 pb-2 text-xs text-muted-foreground\">Pinned projects</p>\n            <ul className=\"space-y-0.5\">\n              {projects.map((project) => (\n                <li key={project.name}>\n                  <a\n                    href=\"#\"\n                    className=\"flex h-9 items-center gap-3 px-3 text-sm text-muted-foreground hover:bg-muted hover:text-foreground\"\n                  >\n                    <span className={cn(\"size-2\", project.color)} />\n                    {project.name}\n                  </a>\n                </li>\n              ))}\n            </ul>\n          </div>\n        </nav>\n        <div className=\"flex items-center gap-3 border-t p-4\">\n          <span className=\"flex size-8 items-center justify-center rounded-full bg-muted text-xs font-medium\">\n            AI\n          </span>\n          <div className=\"min-w-0 flex-1 text-sm\">\n            <p className=\"truncate font-medium\">Ali Imam</p>\n            <p className=\"truncate text-xs text-muted-foreground\">ali@designali.com</p>\n          </div>\n          <a href=\"#\" aria-label=\"Sign out\" className=\"text-muted-foreground hover:text-foreground\">\n            <LogOut className=\"size-4\" />\n          </a>\n        </div>\n      </aside>\n      <div className=\"hidden flex-1 flex-col sm:flex\">\n        <div className=\"flex h-14 items-center border-b px-8 text-sm font-medium\">Overview</div>\n        <div className=\"grid flex-1 grid-cols-3 gap-px bg-border p-px\">\n          {Array.from({ length: 6 }).map((_, i) => (\n            <div key={i} className=\"bg-background\" />\n          ))}\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "800px"
  },
  "categories": [
    "navigation"
  ]
}