{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "admin-sidebar",
  "title": "Admin sidebar",
  "description": "The built-in sidebar with a footer link.",
  "files": [
    {
      "path": "registry/admin-sidebar.tsx",
      "content": "import { AdminLink, type SidebarProps, type SlotProps } from \"@aotter/mantle-admin/app\";\n\n/**\n * Surface: browser (Admin's own page only; an MCP host never renders it).\n * Slots: Sidebar\n * Rules: read data only through @aotter/mantle-admin/hooks and link with <AdminLink>. Pass the props you\n * received to `renderDefault`; spread them to change some.\n */\n\n/** The built-in sidebar with a help link above the signed-in user. */\nexport function AdminSidebar(props: SlotProps<SidebarProps>) {\n  const footer = (\n    <>\n      {props.footer}\n      <AdminLink href=\"https://example.com/help\" className=\"block px-3 py-2 text-sm text-muted-foreground hover:text-foreground\">Help</AdminLink>\n    </>\n  );\n  return props.renderDefault({ ...props, footer });\n}\n",
      "type": "registry:component",
      "target": "~/src/admin/admin-sidebar.tsx"
    }
  ],
  "meta": {
    "surface": "browser",
    "slots": [
      "Sidebar"
    ]
  },
  "type": "registry:component"
}