Sidebar
A composable, themeable and customizable sidebar component.
Dashboard
Main content area.
// src/components/ui/sidebar.tsx — a composable app shell: a fixed sidebar (nav groups) + a content area.
// Use the --sidebar token group for its surface; collapse it with a data-ui toggle on small screens.
Installation
$ bext ui add sidebar
Copy and paste the following into src/components/ui/sidebar.tsx.
// src/components/ui/sidebar.tsx — a composable app shell: a fixed sidebar (nav groups) + a content area.
// Use the --sidebar token group for its surface; collapse it with a data-ui toggle on small screens.
On This Page