Blazor playground

Nova v3.37.0

Preview

Blazor

Sidebar Nav Item

nv-sidebarnavitem

A navigation link in a sidebar, with an icon, a count or sub-items.

Live demo

Icon
Notification Count

nv-sidebarnavitem wraps a link with an optional icon and notificationCount. The sidebar marks it active when its link matches activePath. With collapsible, it opens and closes its sub-items instead of following its link; in a collapsed sidebar it follows the link.

Anatomy

The sidebar anatomy shows navigation items with icons and nested links in the sidebar composition.

Usage

Keep the current destination visually distinct and give every collapsed item a recognisable icon and an accessible name. The parent sidebar design advises against collapsing navigation that depends on text-only items or visible sub-items. Group related destinations with nv-sidebargroup rather than adding horizontal scrolling.

Sources