Skip to content

Nav โ€‹

A sticky top app bar built around three named slots โ€” start, default (center), and end โ€” plus an optional extension second row. Three densities (compact / comfortable / default), three variants (flat / elevated / outlined), and seven colors (six themed + surface for the white-with-themed-border default). Writes its resolved height to --mono-nav-height on :root so layout wrappers can pad themselves without prop drilling. Toggle Vue / CSS to switch the live demo and source together.

Basic โ€‹

Sticky top bar with a brand on the left and an avatar on the right.

Vue SFC

Density โ€‹

compact (48 px), comfortable (56 px), default (64 px).

Vue SFC

Colors โ€‹

Six themed accents plus the white surface default.

Vue SFC

Variants โ€‹

flat (no shadow), elevated (shadow), outlined (bottom border).

Vue SFC

Extension row โ€‹

Second row beneath the main bar via the extension slot โ€” useful for tabs or breadcrumbs.

Vue SFC

Non-sticky โ€‹

Inline header that scrolls with the page.

Vue SFC

Dashboard top bar โ€‹

Realistic composition: brand on the left, search center, icon actions and avatar on the right.

Vue SFC

Layout var โ€‹

Reads --mono-nav-height from :root to auto-pad the page below the bar.

Vue SFC

Customized โ€‹

Override per-section styling via cssClass (Vue) or utility classes (CSS).

Vue SFC