{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "app-sidebar",
  "title": "App Sidebar",
  "description": "The nx-ui App Sidebar block.",
  "registryDependencies": [
    "@nx-ui/sidebar",
    "@nx-ui/utils"
  ],
  "files": [
    {
      "path": "components/blocks/app-sidebar.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\nimport {\n  Sidebar,\n  SidebarContent,\n  SidebarFooter,\n  SidebarHeader,\n} from \"@/components/ui/sidebar\"\n\n/**\n * AppSidebar — the standard nx sidebar arrangement: a header slot (logo /\n * org switcher), a scrolling content area (nav), and a footer slot (account\n * card). A thin composition over the shadcn Sidebar primitive; pass the nav as\n * `children`. Defaults to the `inset` variant so it pairs with AppShell's\n * rounded page card.\n */\nfunction AppSidebar({\n  header,\n  footer,\n  children,\n  variant = \"inset\",\n  className,\n  ...props\n}: React.ComponentProps<typeof Sidebar> & {\n  header?: React.ReactNode\n  footer?: React.ReactNode\n}) {\n  return (\n    <Sidebar variant={variant} className={cn(className)} {...props}>\n      {header ? (\n        <SidebarHeader className=\"gap-4 p-4\">{header}</SidebarHeader>\n      ) : null}\n      <SidebarContent className=\"px-2\">{children}</SidebarContent>\n      {footer ? (\n        <SidebarFooter className=\"p-3\">{footer}</SidebarFooter>\n      ) : null}\n    </Sidebar>\n  )\n}\n\nexport { AppSidebar }\n",
      "type": "registry:component"
    }
  ],
  "type": "registry:block"
}