Design System Builder

NavigationMenu

NavigationMenu is a compound component that provides navigationmenu functionality.

Active
NavigationMenu

Installation

npm install @your-design-system/navigationmenu
import { NavigationMenu } from "@/components/ui/navigationmenu"

export function NavigationMenuDemo() {
  return (
    <NavigationMenu>
      {/* Content */}
    </NavigationMenu>
  )
}

API Reference

PropTypeDefaultDescription
valuestring-

The value prop for the component.

onValueChangestring-

The onValueChange prop for the component.

orientationenumhorizontal

The orientation prop for the component.

Options: horizontal | vertical

Styling

The component uses Tailwind CSS classes for styling. You can customize the appearance by overriding these classes.

Base Classes

relativez-10flexmax-w-maxflex-1items-centerjustify-center

Design System Compliance

This component is validated against atomic design principles and foundation token usage.