NavigationMenu
Properties
Use NavigationMenu
Site navigation with direct links and expandable groups of destinations.
Design notes
- Use stable IDs and real destinations. Set currentHref from the host's route.
- Tab reaches the open group's links in document order. Escape closes the group and returns focus to its trigger.
- Use Menu or Menubar for app commands. Keep the navigation surface clear of clipping ancestors.
API reference
View TypeScript source