Navigation Menu
Accessible dropdown navigation menu with support for nested submenus
Preview
Installation
Usage
Examples
With Direct Links
Include direct navigation links alongside dropdowns.
Nested Submenus
Create multi-level navigation structures.
Custom Styled Dropdown
Apply custom styling to dropdown content.
With Next.js Link
Integrate with Next.js Link for client-side navigation.
API Reference
The Navigation Menu component is built on top of Base UI's Navigation Menu. All Base UI props are supported. The documentation below only covers custom props and modified defaults specific to our implementation.
For the complete Base UI API, see the Base UI Navigation Menu documentation.
Props
NavigationMenu
Root navigation menu container. Composes NavigationMenu.Root with an internal viewport. Props are forwarded to NavigationMenu.Root.
NavigationMenuLink
Navigation link element. Wraps NavigationMenu.Link.
NavigationMenuSub
Nested submenu container for multi-level navigation. Composes NavigationMenu.Root with internal positioning. Props are forwarded to NavigationMenu.Root.