Semantics
Aside, labelled nav lists, current-page links, and primary inset.
Navigation and disclosure · stable · MIT
A controlled workspace shell with responsive navigation panel and inset.
Install editable source
Behavior contract
Aside, labelled nav lists, current-page links, and primary inset.
Tab follows native controls and links; trigger toggles the panel.
Light and dark themes, logical RTL layout, reduced motion, responsive content, and forwarded public refs.
Source-derived reference
These public React parts are read directly from the canonical source during the documentation build.
GummySidebarGummySidebarContentGummySidebarFooterGummySidebarGroupGummySidebarGroupLabelGummySidebarHeaderGummySidebarInsetGummySidebarMenuGummySidebarMenuItemGummySidebarMenuLinkGummySidebarPanelGummySidebarTriggerGummySidebarPropsComposes React.HTMLAttributes<HTMLDivElement> & { open?: boolean; defaultOpen?: boolean; onOpenChange?: (open: boolean) => void; }
Troubleshooting
Live product source
The Component Lab exercises real source across default, focus, disabled, responsive, dark, reduced-motion, and RTL contexts.
Open the live Component LabInteractive inspection
Resize the canvas, switch its theme, or reverse its reading direction without changing the rest of the page.
Sidebar preview: fluid width, light theme, left to right.
Editable source