Sidebar
- from @corsair-ui
An application sidebar that collapses to icons or off canvas on desktop and opens as a sheet on mobile, with a keyboard shortcut.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @corsair-ui/sidebarLive preview
No live preview has been built for this component yet.
Registry dependencies6
- @corsair-ui/utils
- @corsair-ui/button
- @corsair-ui/separator
- @corsair-ui/sheet
- @corsair-ui/tooltip
- @corsair-ui/use-media-query
