Skip to main content
The standard navigation pattern for dashboard and admin interfaces: grouped links, collapsible sections, a user menu, and a mobile behaviour that does not need separate markup.

Install

For a pre-composed branded sidebar, the registry ships nyuchi-sidebar and nyuchi-sidebar-nav as N7 shell items.

Basic sidebar

Collapsible sub-menus

Use ml-auto rather than ml-auto-equivalent physical spacing where the layout has to work right-to-left; see layout.

User menu

Badge counts

Responsive behaviour

SidebarProvider handles this without a second markup tree:
  • Desktop, md and above — the sidebar is persistent and visible.
  • Mobile — the sidebar is hidden behind SidebarTrigger and slides in as an overlay.
Place SidebarTrigger in the main content header, where a thumb can reach it. On mobile, consider a bottom navigation bar instead for the top-level destinations — see mobile-first patterns.