SideBarMenu
The site navigation on the left is a live SideBarMenu (this app dogfoods it). Below is
a playground — drive the props with the controls and the code sample stays in exact sync.
Playground
A small set that exercises each recent behaviour. Hover a parent for its fly-out popout: Reports children all have icons (aligned column) — and its Exports child cascades into a third tier; Library's children have no
icons (no column, compact + content-fit); Projects is mixed (icon-less rows keep
an aligned slot). Account uses a custom popout, and Network view uses activeMatch. auto mode follows the
responsive default; picking a mode forces
it. Drawer/stepped are overlays — use Open. Active row: /dashboard.
Page content — the strip is docked right. Click a path to set the active row:
?via=network activates Network view via its activeMatch — not the plain Dashboard row.
publishWidthVar → strip width is var(--sbm-current-width): —