Navigation Menu

Navigation

A collection of navigation links with dropdown functionality. Features smooth animations, keyboard navigation, and flexible content positioning.

Installation

bash
1npx @dinachi/cli@latest add navigation-menu

Run the CLI command above to automatically install the component and its dependencies.

API Reference

PropTypeDefaultDescription
value
stringThe currently active navigation item
defaultValue
stringThe default active navigation item
onValueChange
(value: string) => voidCallback fired when the active item changes
disabled
booleanfalseWhether the navigation menu is disabled
dir
'ltr' | 'rtl''ltr'The reading direction of the navigation menu
orientation
'horizontal' | 'vertical''horizontal'The orientation of the navigation menu