- Components
- Navigation
Navigation Menu
Site navigation with flyout panels. A highlight slides across the triggers and links, and another across the links inside a panel. Panels open with the menu motion.
Installation#
npx shadcn add @ortaui/navigation-menuExamples#
Default#
API reference#
| Prop | Type | Default | Description |
|---|---|---|---|
| align | "start" | "center" | "end" | "start" | On NavigationMenu. Popup alignment to the trigger. |
| active | boolean | - | On NavigationMenuLink. Marks the current page; the highlight rests there. |
| variant | "panel" | "bar" | "panel" | On NavigationMenuLink. bar is a plain top-level link beside the triggers. |