Sidebar
Component preview
A persistent region beside primary content that participates in page layout and usually contains navigation or supporting tools.
Build pack
Choose the task and destination. Technical names stay in English.
In your own words
Documented aliases: side navigation, navigation rail, aside
Try it
Compare all three behaviors
Shared comparison scenario: A workspace places supporting navigation or controls along a screen edge while the main task stays in context.
This context stays fixed. Switch concepts to observe the mission, edge case, and specimen specific to each behavior.
Sidebar
Sidebar remains in layout and does not trap focus; Drawer and Bottom sheet are temporary surfaces that may make the page inert.
Your task
Choose Chairs in the persistent category navigation, collapse the sidebar, and verify the furniture results reflow without losing focus.
Edge case to verify
Below the wide breakpoint, the persistent filters disappear and a separately named menu opens temporary category navigation for the same results.
Mission
Choose Chairs in the persistent category navigation, collapse the sidebar, and verify the furniture results reflow without losing focus.
Select a marker directly on the specimen, or use the list below, to see its role. Hide the markers to operate the lab without obstruction.
Surface
The visible container that holds the concept's content.
A Drawer is temporary and overlays content; a Sidebar stays in the layout, while a Bottom sheet is anchored to the bottom and supports mobile drag behavior.
DrawerBottom sheet is bottom-anchored and may be draggable; Drawer uses a defined side edge, while Sidebar remains part of the persistent layout.
Bottom sheetRemain in layout
The region occupies page layout space instead of temporarily covering primary content.
Adapt at narrow widths
At narrow widths the persistent region collapses or becomes a separate temporary navigation control.
Sidebar expanded
Sidebar expanded
Sidebar compact
Sidebar compact
Sidebar expanded → Sidebar compact
The collapse control is activated while the persistent sidebar is expanded.
Sidebar compact → Sidebar expanded
The expand control is activated while the persistent sidebar is compact.
aside with nav
Equivalence caveat: A persistent sidebar is layout and navigation, not a modal Dialog. A temporary mobile counterpart must be implemented as a separate Drawer behavior.
Verify binding sourceW3C WAI · standard · 2026-07-16
Claim covered: Sidebar: normative ARIA role definitions and constraints used to qualify the stated accessible role.
W3C WAI · standard · 2026-07-16
Claim covered: Sidebar: WCAG focus appearance requirements used to qualify visible keyboard focus.
Verified on 2026-07-16 · rev. 1