Sidebar

Responsive sidebar system with provider, trigger, rails, and menu primitives.

Sidebar
Components
Button
Dialog
Card
Input
Game One registry
Main content area

Installation

npx shadcn@latest add @gameone/sidebar

Registry dependencies: gameone-utils, use-mobile, button, input, separator, sheet, skeleton, tooltip

Usage

Import
import {
  Sidebar,
  SidebarContent,
  SidebarProvider,
  SidebarTrigger,
} from "@/components/ui/sidebar"
Example
<SidebarProvider>
  <Sidebar>
    <SidebarContent>
      {/* sidebar content */}
    </SidebarContent>
  </Sidebar>
</SidebarProvider>