Components/Sidebar
Sidebar
A composable sidebar primitive for modern product interfaces.
Base UI
Interactive example
Installation
Run the CLI from your project root. Dependencies and component source are added automatically.
$npx quackelements add sidebarUsage
The generated file lives in your repository, so the component API and styles remain fully editable.
example.tsx
import { SidebarProvider, Sidebar, SidebarContent } from "@/components/quack/sidebar"
<SidebarProvider><Sidebar><SidebarContent>Navigation</SidebarContent></Sidebar></SidebarProvider>