Navigation Menu

Menus & Navigation
Local guide ↗ import { NavigationMenu } from "bits-ui"

Rich navigation

Two flyouts share a measured Viewport, with a moving Indicator and a dense link grid

Click to open

openOnHover=false makes the flyout deliberate and keeps it open until outside interaction or Escape

Viewport relocates active Content and manages Tab focus across its links automatically. Trigger activation and directional keys move through the navigation structure; Escape closes an active flyout. Unlike command menus, NavigationMenu links keep normal link semantics and do not expose an item textValue typeahead API.

Root defaults to a 200 ms hover delay and a 300 ms skip-delay window. Viewport publishes --bits-navigation-menu-viewport-width and --bits-navigation-menu-viewport-height; Content adds directional data-motion values for coordinated size and slide transitions. Setting Item's openOnHover false also changes dismissal: pointer exit no longer closes it.