Navbar
The site header with links, theme switch and one action.
Live preview · click to try it
Variants
5 named variants. Layer names match the names below.
WideNavbar / Wide
Wide TransparentNavbar / Wide Transparent
MediumNavbar / Medium
Compact ClosedNavbar / Compact Closed
Compact OpenNavbar / Compact Open
States
Navbar / Top
Navbar / Scrolled
Usage
Do
- Every page.
Don't
- Long link lists; keep it to five links.
Properties
| Property | Type or options | Default |
|---|---|---|
| Variant | Wide · Wide Transparent · Medium · Compact Closed · Compact Open | Wide |
| Current page | String | Components |
Styles it uses
Surface/PageInk/PrimaryAccent/AcidLine/StrongSurface/Raised
Text: Nav · Button M
Accessibility
- Keyboard reachable with a visible 3px State/Focus ring.
- Interactive parts use real buttons and links with accessible names.