Default
Keep primary destinations visible
Desktop Navigation stays exposed and the shared Container aligns the brand, links, and actions.
Compact
Collapse links behind one clear control
The compact panel opens below the Header without reserving empty page space. Escape, link selection, and an outside pointer action close it.
Current destination
Expose location without extra decoration
One link uses `aria-current="page"` and a quiet surface to communicate the current destination visually and semantically.
Surface variants
Choose depth from page behavior
Use the solid Header by default. Sticky keeps global Navigation available, while Glass uses the active glass tokens over moving content.
Lifecycle
Enhance a complete fallback
Before initialization, compact links remain visible. JavaScript adds the disclosure state and removes outside listeners immediately after closing.
initNavigations(root)nds:navigation-changecleanup()Usage guidance
Keep the global model stable.
Reserve Header space for product identity, primary destinations, and a few global actions. Move local controls into the page.
Next component: Breadcrumb and Pagination