Installation
npx solidui-cli@latest add navigation-menu
Usage
import {
NavigationMenu,
NavigationMenuContent,
NavigationMenuIcon,
NavigationMenuItem,
NavigationMenuLink,
NavigationMenuTrigger
} from "~/components/ui/navigation-menu"
<NavigationMenu>
<NavigationMenuItem>
<NavigationMenuTrigger>
Item one
<NavigationMenuIcon />
</NavigationMenuTrigger>
<NavigationMenuContent>
<NavigationMenuLink>Link</NavigationMenuLink>
</NavigationMenuContent>
</NavigationMenuItem>
</NavigationMenu>