Navigation Menu

Accessible site navigation with animated dropdown panels.

Default
Simple Links
With Descriptions
With Icons

Installation

npx shadcn@latest add @byronwade/navigation-menu

Props

PropTypeDefaultDescription
align"start" | "center" | "end""start"Alignment of the dropdown panel under its trigger.
valuestring | nullControlled value of the item whose panel is open.
defaultValuestring | nullnullUncontrolled initial open item.
onValueChange(value: string | null) => voidFires when the open item changes.
delaynumber50Delay in ms before opening on hover.
orientation"horizontal" | "vertical""horizontal"Layout axis of the menu.