NavigationMenu

Site navigation bar with links and dropdown flyout panels

Category: navigation · WCAG 2.2-AA · navigation, menu, flyout, site-nav

States

Props

PropTypeDefaultDescription
itemsNavigationMenuItem[]The items to render.
aria-labelstringAccessible label used when no visible label is present.
orientation'horizontal' | 'vertical' | 'both'horizontalLayout orientation of the component.
classNamestringAdditional CSS class names merged onto the root element.

Design tokens

When to use

When not to use

How to build an accessible NavigationMenu in React →

Examples

Basic

<NavigationMenu aria-label="Main" items={[{ id: "home", label: "Home", href: "/" }, { id: "products", label: "Products", content: <ul>…</ul> }]} />

Related components

← Back to docs