Sidenav Layout
Layoutatlas-sidenav-layoutExamples
App shell
A navbar, a sidebar with its own scroll, and the content area. Below 768px the sidebar becomes a drawer opened by the mobile trigger. This preview is boxed; in an app it fills the viewport.
Dashboard
The main content scrolls independently of the sidebar.
Sidebar width and bar colour
sidenavWidth sets the sidebar width, sidenavTitle its heading (and its panel name on mobile), navbarVariant the top bar colour and contentClass the main area.
Users
A narrow sidebar leaves more room for tables.
API
Generated from the library source, so it always matches the code.
AtlasSidenavLayoutComponent atlas-sidenav-layout
| Input | Type | Default | Description |
|---|---|---|---|
| sidenavWidth | string | '16rem' | |
| sidenavTitle | string | undefined | undefined | sidenavLayout.title . |
| contentClass | string | '' | mx-auto . |
| navbarVariant | NavbarVariant | 'default' | atlas-navbar variant . |