{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "sidebar-01", "title": "Collapsible Workspace", "description": "A content-first shell with compact navigation.", "registryDependencies": [ "@manner/button" ], "files": [ { "path": "registry/manner/blocks/sidebar-01.tsx", "content": "\"use client\"\n\nimport * as React from \"react\"\n\nimport { Button } from \"@/registry/manner/ui/button\"\n\nconst navigation = [\"Overview\", \"Work\", \"Library\", \"Review\"]\n\nfunction SidebarBlock() {\n const [collapsed, setCollapsed] = React.useState(false)\n const [active, setActive] = React.useState(\"Overview\")\n return (\n
\n \n
Workspace / {active}

Good afternoon.

{[[\"Open threads\", \"12\", \"+3 this week\"], [\"Reading time\", \"4.2h\", \"Across 8 notes\"], [\"Decisions\", \"07\", \"2 need review\"]].map(([label, value, detail]) =>
{label}{value}{detail}
)}
\n
\n )\n}\n\nexport { SidebarBlock }\n", "type": "registry:component" } ], "type": "registry:block" }