Navigation Menu
Grouped navigation with shared animated panels, descriptive links and keyboard controls.
Installation
Usage
Use NavigationMenu for one trigger, or NavigationMenuSections with NavigationMenuSection for grouped links. Choose list or grid layout, use empty entries for direct links, and pass the reduced-motion preference.
Keyboard
Arrow keys move between triggers and links. Enter or Arrow Down opens a section. Escape closes the panel and returns focus to its trigger.
API Reference
Properties from the component source. State lives in your component; actions receive the updated value.
NavigationMenu.id
string
NavigationMenu.label
string
NavigationMenu.entries
NavigationMenuEntry[]
NavigationMenu.reduced
bool
NavigationMenuSections.id
string
NavigationMenuSections.label
string
NavigationMenuSections.sections
NavigationMenuSection[]
NavigationMenuSections.reduced
bool