Navigation

Sidebar

The app's primary navigation column — brand, nav, and the account card at the foot.

Importimport { Sidebar } from "@/components/layout";
Sourcesrc/components/layout/Sidebar

The app's navigation column, used by the dashboard, site settings and the builder panels. It is a set of parts — SidebarTop, SidebarBrand, SidebarNav, SidebarDivider — rather than one configurable component.

Default

variant="embedded" drops the outer surface for a sidebar nested inside something that already has one. compact switches to the tighter Figma sizing: 12px gutter, 30px search, 32px rows.

Props

Sidebar

PropTypeDefaultDescription
variant"panel" | "embedded""panel"`embedded` removes the surface for a nested sidebar.
compactbooleanfalseTighter sizing: 12px gutter, 30px search, 32px rows, 12px labels.
aria-labelstringNames the landmark. Give every sidebar one.