Top Navbar Layout
Layoutatlas-top-navbar-layoutExamples
App shell
A sticky navbar with brand, links and actions above a scrolling content area. Boxed here for the preview.
Page content goes here.
Centred content and a dark bar
contentClass styles the main area, here a centred max width. navbarVariant sets the bar's background, like atlas-navbar 's variant .
Release notes
The content stays centred at 42rem however wide the window gets.
API
Generated from the library source, so it always matches the code.
AtlasTopNavbarLayoutComponent atlas-top-navbar-layout
| Input | Type | Default | Description |
|---|---|---|---|
| contentClass | string | '' | mx-auto . |
| navbarVariant | NavbarVariant | 'default' | atlas-navbar variant . |