A vertical navigation list with two-layer proximity highlight (active route + hover), weight-shift labels, and status dots for new/updated items.
Dependencies
Interaction Type
Hover or use arrow keys to navigate links. Active route gets a persistent accent-tinted highlight. Labels weight-shift on hover.
Props
Options you can pass to customize this component.
activeSlug*The current route path. Required — the router owns truth.
aria-labelAccessible label for the nav. Defaults to "Main".
Installation
How to use
<NavMenu activeSlug={pathname} aria-label="Docs">
<NavMenuItem href="/docs" label="Overview" />
<NavMenuItem href="/docs/install" label="Install" isNew />
<NavMenuItem href="/docs/theming" label="Theming" isUpdated />
</NavMenu>Source Code
Click the code icon in the top-right corner to view the source code.
License & Usage
// No code loaded.