Navbar
Responsive navigation bar with a mobile disclosure menu.
Install this component
Install command hidden until you are signed in with a license.
Live demo
Props
| Prop | Type | Description |
|---|---|---|
| brand | ReactNode | Brand slot. |
| links | { href; label; current? }[] | Navigation links. |
| actions | ReactNode | Right-side slot. |
| label | stringdefault "Main" | aria-label of the nav landmark. |
Accessibility
Keyboard
- TabMove through links
- EscapeClose the mobile menu and return focus
ARIA and semantics
- nav landmark with aria-label
- aria-current=page on the current link
- Menu button uses aria-expanded and aria-controls
Source
Copy the files into your project. Or install with the commands above (they unlock with your license).
The full Navbar source is part of the license.
The live demo is free to try. A license unlocks copy-paste source, installs and exports for every component and pack.
Unlock every icon