Sidebar
An app's side column — a brand, a menu, an account — that folds to a rail. In the flow, unlike a Drawer: the page beside it narrows or widens, it is never covered. This app's own navigation is one.
| Class | Effect | Type |
|---|---|---|
.sidebar | The column, at --sidebar-width. | root |
.sidebar-end | On the end side of the page. | axis side |
.sidebar-xs.sidebar-sm.sidebar-md.sidebar-lg.sidebar-xl | Sets size, one class per value. | axis size |
.sidebar-body | The scrolling middle: usually a .menu. | part |
.sidebar-collapsed | Folded to --sidebar-rail: only the head's toggle stays, the rest fades out. | part |
.sidebar-foot | The bottom row. | part |
.sidebar-head | The top row: a brand, then the toggle. | part |
.sidebar-keep | A head child kept on the rail (a logo). | part |
.sidebar-layout | Optional: the full-height row of the sidebar and the page beside it. | part |
.sidebar-toggle | The fold button. | part |