Install
mzizi-sidebar and
mzizi-sidebar-nav as N7 shell items.
Basic sidebar
Collapsible sub-menus
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,
mdand above — the sidebar is persistent and visible. - Mobile — the sidebar is hidden behind
SidebarTriggerand slides in as an overlay.
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.