Loading...
Loading...
Loading...
Collapsible sidebar with grouped navigation, tooltips, and a footer slot.
Install
npx bouncekit@latest add sidebarImport
import { Sidebar } from "@/components/dashboard/sidebar"API Reference
| Prop | Type | Required | Description |
|---|---|---|---|
sections | SidebarSection[] | yes | Navigation sections displayed in order. |
header | ReactNode | — | Slot rendered at the top — typically <Logo />. |
footer | ReactNode | — | Slot at the bottom — theme toggle, user info, etc. |
Source
src/components/dashboard/sidebar.tsx