Layout/Navigation Menu

Navigation Menu

A horizontal top-nav menu where items can reveal a dropdown panel of sub-links. Wraps responsively on narrow viewports.

import { NavigationMenu } from "@animui/ui"

Basic

Props

PropTypeDefaultDescription
itemsNavigationMenuItem[]Top-level menu items. Items with children render a dropdown on click.
classNamestringAdditional classes for the nav container.

Accessibility

  • Dropdown triggers expose aria-expanded.
  • Dropdown panels close on Escape or on an outside click.
  • Wraps onto multiple lines instead of overflowing on small screens.
© 2026 Steal Shadow. MIT License.Report an issue