Navigation Menu
Navigation Menu provides Runtime-backed navigation disclosure, focus management, and floating content positioning.
---import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, navigationMenuTriggerStyle,} from "@/components/starwind/navigation-menu";import AlertCircle from "@tabler/icons/outline/alert-circle.svg";import CircleCheck from "@tabler/icons/outline/circle-check.svg";import CircleDashed from "@tabler/icons/outline/circle-dashed.svg";
const components = [ { title: "Alert Dialog", href: "/docs/components/alert-dialog/", description: "A modal dialog that interrupts the user with important content and expects a response.", }, { title: "Hover Card", href: "/docs/components/hover-card/", description: "For sighted users to preview content available behind a link.", }, { title: "Progress", href: "/docs/components/progress/", description: "Displays an indicator showing the completion progress of a task.", }, { title: "Scroll Area", href: "/docs/components/scroll-area/", description: "Augments native scroll functionality for custom, cross-browser styling.", }, { title: "Tabs", href: "/docs/components/tabs/", description: "A set of layered sections of content displayed one at a time.", }, { title: "Tooltip", href: "/docs/components/tooltip/", description: "A popup that provides information when an element is focused or hovered.", },];---
<NavigationMenu size="md" aria-label="Documentation navigation"> <NavigationMenuList> <NavigationMenuItem value="getting-started"> <NavigationMenuTrigger>Getting started</NavigationMenuTrigger> <NavigationMenuContent> <ul class="w-108"> <li> <NavigationMenuLink href="/docs/getting-started/introduction/"> <div class="flex flex-col gap-1.5"> <div class="leading-none font-medium">Introduction</div> <div class="text-muted-foreground line-clamp-2"> Reusable components built with Tailwind CSS. </div> </div> </NavigationMenuLink> </li> <li> <NavigationMenuLink href="/docs/getting-started/installation/"> <div class="flex flex-col gap-1.5"> <div class="leading-none font-medium">Installation</div> <div class="text-muted-foreground line-clamp-2"> How to install dependencies and structure your app. </div> </div> </NavigationMenuLink> </li> <li> <NavigationMenuLink href="/docs/getting-started/theming/"> <div class="flex flex-col gap-1.5"> <div class="leading-none font-medium">Theming</div> <div class="text-muted-foreground line-clamp-2"> Customize colors, typography, and design tokens. </div> </div> </NavigationMenuLink> </li> </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem value="components" class="hidden md:flex"> <NavigationMenuTrigger>Components</NavigationMenuTrigger> <NavigationMenuContent> <ul class="grid w-[500px] gap-2 md:w-[600px] md:grid-cols-2 lg:w-[700px]"> {components.map((component) => ( <li> <NavigationMenuLink href={component.href}> <div class="flex flex-col gap-1.5"> <div class="leading-none font-medium">{component.title}</div> <div class="text-muted-foreground line-clamp-2"> {component.description} </div> </div> </NavigationMenuLink> </li> ))} </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem value="status"> <NavigationMenuTrigger>With icon</NavigationMenuTrigger> <NavigationMenuContent> <ul class="grid w-[240px]"> <li> <NavigationMenuLink href="#backlog" class="flex-row items-center gap-2"> <AlertCircle />Backlog </NavigationMenuLink> <NavigationMenuLink href="#to-do" class="flex-row items-center gap-2"> <CircleDashed />To Do </NavigationMenuLink> <NavigationMenuLink href="#done" class="flex-row items-center gap-2"> <CircleCheck />Done </NavigationMenuLink> </li> </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem> <NavigationMenuLink href="/docs/" class={navigationMenuTriggerStyle()}> Docs </NavigationMenuLink> </NavigationMenuItem> </NavigationMenuList></NavigationMenu>import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, navigationMenuTriggerStyle,} from "@/components/starwind/navigation-menu";import { IconAlertCircle as AlertCircle, IconCircleCheck as CircleCheck, IconCircleDashed as CircleDashed,} from "@tabler/icons-react";
const components = [ { title: "Alert Dialog", href: "/docs/components/alert-dialog/", description: "A modal dialog that interrupts the user with important content and expects a response.", }, { title: "Hover Card", href: "/docs/components/hover-card/", description: "For sighted users to preview content available behind a link.", }, { title: "Progress", href: "/docs/components/progress/", description: "Displays an indicator showing the completion progress of a task.", }, { title: "Scroll Area", href: "/docs/components/scroll-area/", description: "Augments native scroll functionality for custom, cross-browser styling.", }, { title: "Tabs", href: "/docs/components/tabs/", description: "A set of layered sections of content displayed one at a time.", }, { title: "Tooltip", href: "/docs/components/tooltip/", description: "A popup that provides information when an element is focused or hovered.", },];
export function Example() { return ( <> <NavigationMenu size="md" aria-label="Documentation navigation"> <NavigationMenuList> <NavigationMenuItem value="getting-started"> <NavigationMenuTrigger>Getting started</NavigationMenuTrigger> <NavigationMenuContent> <ul className="w-108"> <li> <NavigationMenuLink href="/docs/getting-started/introduction/"> <div className="flex flex-col gap-1.5"> <div className="leading-none font-medium">Introduction</div> <div className="text-muted-foreground line-clamp-2"> Reusable components built with Tailwind CSS. </div> </div> </NavigationMenuLink> </li> <li> <NavigationMenuLink href="/docs/getting-started/installation/"> <div className="flex flex-col gap-1.5"> <div className="leading-none font-medium">Installation</div> <div className="text-muted-foreground line-clamp-2"> How to install dependencies and structure your app. </div> </div> </NavigationMenuLink> </li> <li> <NavigationMenuLink href="/docs/getting-started/theming/"> <div className="flex flex-col gap-1.5"> <div className="leading-none font-medium">Theming</div> <div className="text-muted-foreground line-clamp-2"> Customize colors, typography, and design tokens. </div> </div> </NavigationMenuLink> </li> </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem value="components" className="hidden md:flex"> <NavigationMenuTrigger>Components</NavigationMenuTrigger> <NavigationMenuContent> <ul className="grid w-[500px] gap-2 md:w-[600px] md:grid-cols-2 lg:w-[700px]"> {components.map((component) => ( <li key={`${component.href}-${component.title}`}> <NavigationMenuLink href={component.href}> <div className="flex flex-col gap-1.5"> <div className="leading-none font-medium">{component.title}</div> <div className="text-muted-foreground line-clamp-2"> {component.description} </div> </div> </NavigationMenuLink> </li> ))} </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem value="status"> <NavigationMenuTrigger>With icon</NavigationMenuTrigger> <NavigationMenuContent> <ul className="grid w-[240px]"> <li> <NavigationMenuLink href="#backlog" className="flex-row items-center gap-2"> <AlertCircle />Backlog </NavigationMenuLink> <NavigationMenuLink href="#to-do" className="flex-row items-center gap-2"> <CircleDashed />To Do </NavigationMenuLink> <NavigationMenuLink href="#done" className="flex-row items-center gap-2"> <CircleCheck />Done </NavigationMenuLink> </li> </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem> <NavigationMenuLink href="/docs/" className={navigationMenuTriggerStyle()}> Docs </NavigationMenuLink> </NavigationMenuItem> </NavigationMenuList> </NavigationMenu> </> );}<script setup lang="ts">import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, navigationMenuTriggerStyle,} from "@/components/starwind/navigation-menu";import { IconAlertCircle as AlertCircle } from "@tabler/icons-vue";import { IconCircleCheck as CircleCheck } from "@tabler/icons-vue";import { IconCircleDashed as CircleDashed } from "@tabler/icons-vue";
const components = [ { title: "Alert Dialog", href: "/docs/components/alert-dialog/", description: "A modal dialog that interrupts the user with important content and expects a response.", }, { title: "Hover Card", href: "/docs/components/hover-card/", description: "For sighted users to preview content available behind a link.", }, { title: "Progress", href: "/docs/components/progress/", description: "Displays an indicator showing the completion progress of a task.", }, { title: "Scroll Area", href: "/docs/components/scroll-area/", description: "Augments native scroll functionality for custom, cross-browser styling.", }, { title: "Tabs", href: "/docs/components/tabs/", description: "A set of layered sections of content displayed one at a time.", }, { title: "Tooltip", href: "/docs/components/tooltip/", description: "A popup that provides information when an element is focused or hovered.", },];</script>
<template> <NavigationMenu size="md" aria-label="Documentation navigation"> <NavigationMenuList> <NavigationMenuItem value="getting-started"> <NavigationMenuTrigger>Getting started</NavigationMenuTrigger> <NavigationMenuContent> <ul class="w-108"> <li> <NavigationMenuLink href="/docs/getting-started/introduction/"> <div class="flex flex-col gap-1.5"> <div class="leading-none font-medium">Introduction</div> <div class="text-muted-foreground line-clamp-2"> Reusable components built with Tailwind CSS. </div> </div> </NavigationMenuLink> </li> <li> <NavigationMenuLink href="/docs/getting-started/installation/"> <div class="flex flex-col gap-1.5"> <div class="leading-none font-medium">Installation</div> <div class="text-muted-foreground line-clamp-2"> How to install dependencies and structure your app. </div> </div> </NavigationMenuLink> </li> <li> <NavigationMenuLink href="/docs/getting-started/theming/"> <div class="flex flex-col gap-1.5"> <div class="leading-none font-medium">Theming</div> <div class="text-muted-foreground line-clamp-2"> Customize colors, typography, and design tokens. </div> </div> </NavigationMenuLink> </li> </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem value="components" class="hidden md:flex"> <NavigationMenuTrigger>Components</NavigationMenuTrigger> <NavigationMenuContent> <ul class="grid w-[500px] gap-2 md:w-[600px] md:grid-cols-2 lg:w-[700px]"> <template v-for="component in components" :key="component.href"> <li> <NavigationMenuLink :href="component.href"> <div class="flex flex-col gap-1.5"> <div class="leading-none font-medium">{{ component.title }}</div> <div class="text-muted-foreground line-clamp-2"> {{ component.description }} </div> </div> </NavigationMenuLink> </li> </template> </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem value="status"> <NavigationMenuTrigger>With icon</NavigationMenuTrigger> <NavigationMenuContent> <ul class="grid w-[240px]"> <li> <NavigationMenuLink href="#backlog" class="flex-row items-center gap-2"> <AlertCircle />Backlog </NavigationMenuLink> <NavigationMenuLink href="#to-do" class="flex-row items-center gap-2"> <CircleDashed />To Do </NavigationMenuLink> <NavigationMenuLink href="#done" class="flex-row items-center gap-2"> <CircleCheck />Done </NavigationMenuLink> </li> </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem> <NavigationMenuLink href="/docs/" :class="navigationMenuTriggerStyle()"> Docs </NavigationMenuLink> </NavigationMenuItem> </NavigationMenuList> </NavigationMenu></template><script lang="ts"> import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, navigationMenuTriggerStyle, } from "@/components/starwind/navigation-menu"; const components = [ { title: "Alert Dialog", href: "https://starwind.dev/docs/components/alert-dialog/", description: "A modal dialog that interrupts the user with important content and expects a response.", }, { title: "Hover Card", href: "https://starwind.dev/docs/components/hover-card/", description: "For sighted users to preview content available behind a link.", }, { title: "Progress", href: "https://starwind.dev/docs/components/progress/", description: "Displays an indicator showing the completion progress of a task.", }, { title: "Scroll Area", href: "https://starwind.dev/docs/components/scroll-area/", description: "Augments native scroll functionality for custom, cross-browser styling.", }, { title: "Tabs", href: "https://starwind.dev/docs/components/tabs/", description: "A set of layered sections of content displayed one at a time.", }, { title: "Tooltip", href: "https://starwind.dev/docs/components/tooltip/", description: "A popup that provides information when an element is focused or hovered.", }, ];</script>
{#snippet AlertCircle()}<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="9" /><path d="M12 8v4m0 4h.01" /></svg >{/snippet}{#snippet CircleCheck()}<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="9" /><path d="m9 12 2 2 4-4" /></svg >{/snippet}{#snippet CircleDashed()}<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="9" stroke-dasharray="4 4" /></svg >{/snippet}<NavigationMenu size="md" aria-label="Documentation navigation"> <NavigationMenuList class="flex-wrap sm:flex-nowrap"> <NavigationMenuItem value="getting-started"> <NavigationMenuTrigger>Getting started</NavigationMenuTrigger> <NavigationMenuContent> <ul class="w-[min(27rem,calc(100vw-8rem))]"> <li> <NavigationMenuLink href="https://starwind.dev/docs/getting-started/introduction/"> <div class="flex flex-col gap-1.5"> <div class="leading-none font-medium">Introduction</div> <div class="text-muted-foreground line-clamp-2"> Reusable components built with Tailwind CSS. </div> </div> </NavigationMenuLink> </li> <li> <NavigationMenuLink href="https://starwind.dev/docs/getting-started/installation/"> <div class="flex flex-col gap-1.5"> <div class="leading-none font-medium">Installation</div> <div class="text-muted-foreground line-clamp-2"> How to install dependencies and structure your app. </div> </div> </NavigationMenuLink> </li> <li> <NavigationMenuLink href="https://starwind.dev/docs/getting-started/theming/"> <div class="flex flex-col gap-1.5"> <div class="leading-none font-medium">Theming</div> <div class="text-muted-foreground line-clamp-2"> Customize colors, typography, and design tokens. </div> </div> </NavigationMenuLink> </li> </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem value="components" class="hidden md:flex"> <NavigationMenuTrigger>Components</NavigationMenuTrigger> <NavigationMenuContent> <ul class="grid w-[min(31.25rem,calc(100vw-8rem))] gap-2 md:w-[min(37.5rem,calc(100vw-8rem))] md:grid-cols-2 lg:w-[43.75rem]" > {#each components as component (component.title)} <li> <NavigationMenuLink href={component.href}> <div class="flex flex-col gap-1.5"> <div class="leading-none font-medium">{component.title}</div> <div class="text-muted-foreground line-clamp-2">{component.description}</div> </div> </NavigationMenuLink> </li> {/each} </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem value="status"> <NavigationMenuTrigger>With icon</NavigationMenuTrigger> <NavigationMenuContent> <ul class="grid w-[240px]"> <li> <NavigationMenuLink href="#api-reference" class="flex-row items-center gap-2" >{@render AlertCircle()}Backlog</NavigationMenuLink > <NavigationMenuLink href="#api-reference" class="flex-row items-center gap-2" >{@render CircleDashed()}To Do</NavigationMenuLink > <NavigationMenuLink href="#api-reference" class="flex-row items-center gap-2" >{@render CircleCheck()}Done</NavigationMenuLink > </li> </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem> <NavigationMenuLink href="https://starwind.dev/docs/" class={navigationMenuTriggerStyle()} >Docs</NavigationMenuLink > </NavigationMenuItem> </NavigationMenuList></NavigationMenu>Installation
pnpx starwind@latest add navigation-menu --framework astronpx starwind@latest add navigation-menu --framework astroyarn dlx starwind@latest add navigation-menu --framework astropnpx starwind@latest add navigation-menu --framework reactnpx starwind@latest add navigation-menu --framework reactyarn dlx starwind@latest add navigation-menu --framework reactpnpx starwind@latest add navigation-menu --framework vuenpx starwind@latest add navigation-menu --framework vueyarn dlx starwind@latest add navigation-menu --framework vuepnpx starwind@latest add navigation-menu --framework sveltenpx starwind@latest add navigation-menu --framework svelteyarn dlx starwind@latest add navigation-menu --framework svelteUsage
---import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger,} from "@/components/starwind/navigation-menu";---import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger,} from "@/components/starwind/navigation-menu";<script setup lang="ts">import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger,} from "@/components/starwind/navigation-menu";</script>
<template></template><script lang="ts"> import { NavigationMenu, NavigationMenuList, NavigationMenuItem, NavigationMenuTrigger, NavigationMenuContent, NavigationMenuLink, } from "@/components/starwind/navigation-menu";</script>
<NavigationMenu> <NavigationMenuList> <NavigationMenuItem> <NavigationMenuTrigger>Getting started</NavigationMenuTrigger> <NavigationMenuContent> <NavigationMenuLink href="#api-reference" class="block p-4"> Read the API reference </NavigationMenuLink> </NavigationMenuContent> </NavigationMenuItem> </NavigationMenuList></NavigationMenu><NavigationMenu> <NavigationMenuList> <NavigationMenuItem value="item-one"> <NavigationMenuTrigger>Item One</NavigationMenuTrigger> <NavigationMenuContent> <NavigationMenuLink href="/docs/">Link</NavigationMenuLink> </NavigationMenuContent> </NavigationMenuItem> </NavigationMenuList></NavigationMenu>import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger } from "@/components/starwind/navigation-menu";
export function Example() { return ( <> <NavigationMenu> <NavigationMenuList> <NavigationMenuItem value="item-one"> <NavigationMenuTrigger>Item One</NavigationMenuTrigger> <NavigationMenuContent> <NavigationMenuLink href="/docs/">Link</NavigationMenuLink> </NavigationMenuContent> </NavigationMenuItem> </NavigationMenuList> </NavigationMenu> </> );}<script setup lang="ts">import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger,} from "@/components/starwind/navigation-menu";</script>
<template> <NavigationMenu> <NavigationMenuList> <NavigationMenuItem value="item-one"> <NavigationMenuTrigger>Item One</NavigationMenuTrigger> <NavigationMenuContent> <NavigationMenuLink href="/docs/">Link</NavigationMenuLink> </NavigationMenuContent> </NavigationMenuItem> </NavigationMenuList> </NavigationMenu></template><script lang="ts"> import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, } from "@/components/starwind/navigation-menu";</script>
<NavigationMenu> <NavigationMenuList> <NavigationMenuItem value="item-one"> <NavigationMenuTrigger>Item One</NavigationMenuTrigger> <NavigationMenuContent> <NavigationMenuLink href="/docs/">Link</NavigationMenuLink> </NavigationMenuContent> </NavigationMenuItem> </NavigationMenuList></NavigationMenu>Composition
Use the following composition to build a NavigationMenu:
NavigationMenu└── NavigationMenuList ├── NavigationMenuItem │ ├── NavigationMenuTrigger │ └── NavigationMenuContent │ ├── NavigationMenuLink │ └── NavigationMenuLink └── NavigationMenuItem └── NavigationMenuLinkSizes
NavigationMenu defaults to size="md". Set size once to keep native triggers, List spacing, trigger-style Links, and portaled content aligned. Use contentSize only when the shared popup should intentionally use a different size.
---import AlertCircle from "@tabler/icons/outline/alert-circle.svg";import CircleCheck from "@tabler/icons/outline/circle-check.svg";import CircleDashed from "@tabler/icons/outline/circle-dashed.svg";import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, navigationMenuTriggerStyle,} from "@/components/starwind/navigation-menu";
const componentLinks = [ { title: "Alert Dialog", href: "/docs/components/alert-dialog/", description: "A modal dialog that asks for a response.", }, { title: "Hover Card", href: "/docs/components/hover-card/", description: "Preview content available behind a link.", },];---
<div class="grid gap-6"> <div class="space-y-3"> <div class="text-muted-foreground text-sm font-medium">Small (sm)</div> <NavigationMenu size="sm" aria-label="Small documentation navigation"> <NavigationMenuList> <NavigationMenuItem value="small-getting-started"> <NavigationMenuTrigger>Getting started</NavigationMenuTrigger> <NavigationMenuContent> <ul class="w-96"> <li> <NavigationMenuLink href="/docs/getting-started/introduction/"> <div class="flex flex-col gap-1 text-sm"> <div class="leading-none font-medium">Introduction</div> <div class="text-muted-foreground line-clamp-2"> Reusable components built with Tailwind CSS. </div> </div> </NavigationMenuLink> </li> </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem value="small-components" class="hidden md:flex"> <NavigationMenuTrigger>Components</NavigationMenuTrigger> <NavigationMenuContent> <ul class="grid w-[400px] gap-2 md:w-[500px] md:grid-cols-2 lg:w-[600px]"> {componentLinks.map((component) => ( <li> <NavigationMenuLink href={component.href}> <div class="flex flex-col gap-1 text-sm"> <div class="leading-none font-medium">{component.title}</div> <div class="text-muted-foreground line-clamp-2"> {component.description} </div> </div> </NavigationMenuLink> </li> ))} </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem value="small-status"> <NavigationMenuTrigger>With icon</NavigationMenuTrigger> <NavigationMenuContent> <ul class="grid w-[200px]"> <li> <NavigationMenuLink href="#small-backlog" class="flex-row items-center gap-2"> <AlertCircle />Backlog </NavigationMenuLink> <NavigationMenuLink href="#small-to-do" class="flex-row items-center gap-2"> <CircleDashed />To Do </NavigationMenuLink> <NavigationMenuLink href="#small-done" class="flex-row items-center gap-2"> <CircleCheck />Done </NavigationMenuLink> </li> </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem> <NavigationMenuLink href="/docs/" class={navigationMenuTriggerStyle()}> Docs </NavigationMenuLink> </NavigationMenuItem> </NavigationMenuList> </NavigationMenu> </div>
<div class="space-y-3"> <div class="text-muted-foreground text-sm font-medium">Medium (md)</div> <NavigationMenu size="md" aria-label="Medium documentation navigation"> <NavigationMenuList> <NavigationMenuItem value="medium-getting-started"> <NavigationMenuTrigger>Getting started</NavigationMenuTrigger> <NavigationMenuContent> <ul class="w-108"> <li> <NavigationMenuLink href="/docs/getting-started/introduction/"> <div class="flex flex-col gap-1.5"> <div class="leading-none font-medium">Introduction</div> <div class="text-muted-foreground line-clamp-2"> Reusable components built with Tailwind CSS. </div> </div> </NavigationMenuLink> </li> </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem value="medium-components" class="hidden md:flex"> <NavigationMenuTrigger>Components</NavigationMenuTrigger> <NavigationMenuContent> <ul class="grid w-[500px] gap-2 md:w-[600px] md:grid-cols-2 lg:w-[700px]"> {componentLinks.map((component) => ( <li> <NavigationMenuLink href={component.href}> <div class="flex flex-col gap-1.5"> <div class="leading-none font-medium">{component.title}</div> <div class="text-muted-foreground line-clamp-2"> {component.description} </div> </div> </NavigationMenuLink> </li> ))} </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem value="medium-status"> <NavigationMenuTrigger>With icon</NavigationMenuTrigger> <NavigationMenuContent> <ul class="grid w-[240px]"> <li> <NavigationMenuLink href="#medium-backlog" class="flex-row items-center gap-2"> <AlertCircle />Backlog </NavigationMenuLink> <NavigationMenuLink href="#medium-to-do" class="flex-row items-center gap-2"> <CircleDashed />To Do </NavigationMenuLink> <NavigationMenuLink href="#medium-done" class="flex-row items-center gap-2"> <CircleCheck />Done </NavigationMenuLink> </li> </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem> <NavigationMenuLink href="/docs/" class={navigationMenuTriggerStyle()}> Docs </NavigationMenuLink> </NavigationMenuItem> </NavigationMenuList> </NavigationMenu> </div></div>import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, navigationMenuTriggerStyle,} from "@/components/starwind/navigation-menu";import { IconAlertCircle, IconCircleCheck, IconCircleDashed } from "@tabler/icons-react";
const componentLinks = [ { title: "Alert Dialog", href: "/docs/components/alert-dialog/", description: "A modal dialog that asks for a response.", }, { title: "Hover Card", href: "/docs/components/hover-card/", description: "Preview content available behind a link.", },];
export function Example() { return ( <div className="grid gap-6"> <div className="space-y-3"> <div className="text-muted-foreground text-sm font-medium">Small (sm)</div> <NavigationMenu size="sm" aria-label="Small documentation navigation"> <NavigationMenuList> <NavigationMenuItem value="small-getting-started"> <NavigationMenuTrigger>Getting started</NavigationMenuTrigger> <NavigationMenuContent> <ul className="w-96"> <li> <NavigationMenuLink href="/docs/getting-started/introduction/"> <div className="flex flex-col gap-1 text-sm"> <div className="leading-none font-medium">Introduction</div> <div className="text-muted-foreground line-clamp-2"> Reusable components built with Tailwind CSS. </div> </div> </NavigationMenuLink> </li> </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem value="small-components" className="hidden md:flex"> <NavigationMenuTrigger>Components</NavigationMenuTrigger> <NavigationMenuContent> <ul className="grid w-[400px] gap-2 md:w-[500px] md:grid-cols-2 lg:w-[600px]"> {componentLinks.map((component) => ( <li key={component.href}> <NavigationMenuLink href={component.href}> <div className="flex flex-col gap-1 text-sm"> <div className="leading-none font-medium">{component.title}</div> <div className="text-muted-foreground line-clamp-2"> {component.description} </div> </div> </NavigationMenuLink> </li> ))} </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem value="small-status"> <NavigationMenuTrigger>With icon</NavigationMenuTrigger> <NavigationMenuContent> <ul className="grid w-[200px]"> <li> <NavigationMenuLink href="#small-backlog" className="flex-row items-center gap-2"> <IconAlertCircle />Backlog </NavigationMenuLink> <NavigationMenuLink href="#small-to-do" className="flex-row items-center gap-2"> <IconCircleDashed />To Do </NavigationMenuLink> <NavigationMenuLink href="#small-done" className="flex-row items-center gap-2"> <IconCircleCheck />Done </NavigationMenuLink> </li> </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem> <NavigationMenuLink href="/docs/" className={navigationMenuTriggerStyle()}> Docs </NavigationMenuLink> </NavigationMenuItem> </NavigationMenuList> </NavigationMenu> </div>
<div className="space-y-3"> <div className="text-muted-foreground text-sm font-medium">Medium (md)</div> <NavigationMenu size="md" aria-label="Medium documentation navigation"> <NavigationMenuList> <NavigationMenuItem value="medium-getting-started"> <NavigationMenuTrigger>Getting started</NavigationMenuTrigger> <NavigationMenuContent> <ul className="w-108"> <li> <NavigationMenuLink href="/docs/getting-started/introduction/"> <div className="flex flex-col gap-1.5"> <div className="leading-none font-medium">Introduction</div> <div className="text-muted-foreground line-clamp-2"> Reusable components built with Tailwind CSS. </div> </div> </NavigationMenuLink> </li> </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem value="medium-components" className="hidden md:flex"> <NavigationMenuTrigger>Components</NavigationMenuTrigger> <NavigationMenuContent> <ul className="grid w-[500px] gap-2 md:w-[600px] md:grid-cols-2 lg:w-[700px]"> {componentLinks.map((component) => ( <li key={component.href}> <NavigationMenuLink href={component.href}> <div className="flex flex-col gap-1.5"> <div className="leading-none font-medium">{component.title}</div> <div className="text-muted-foreground line-clamp-2"> {component.description} </div> </div> </NavigationMenuLink> </li> ))} </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem value="medium-status"> <NavigationMenuTrigger>With icon</NavigationMenuTrigger> <NavigationMenuContent> <ul className="grid w-[240px]"> <li> <NavigationMenuLink href="#medium-backlog" className="flex-row items-center gap-2"> <IconAlertCircle />Backlog </NavigationMenuLink> <NavigationMenuLink href="#medium-to-do" className="flex-row items-center gap-2"> <IconCircleDashed />To Do </NavigationMenuLink> <NavigationMenuLink href="#medium-done" className="flex-row items-center gap-2"> <IconCircleCheck />Done </NavigationMenuLink> </li> </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem> <NavigationMenuLink href="/docs/" className={navigationMenuTriggerStyle()}> Docs </NavigationMenuLink> </NavigationMenuItem> </NavigationMenuList> </NavigationMenu> </div> </div> );}<script setup lang="ts">import { IconAlertCircle as AlertCircle } from "@tabler/icons-vue";import { IconCircleCheck as CircleCheck } from "@tabler/icons-vue";import { IconCircleDashed as CircleDashed } from "@tabler/icons-vue";import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, navigationMenuTriggerStyle,} from "@/components/starwind/navigation-menu";
const componentLinks = [ { title: "Alert Dialog", href: "/docs/components/alert-dialog/", description: "A modal dialog that asks for a response.", }, { title: "Hover Card", href: "/docs/components/hover-card/", description: "Preview content available behind a link.", },];</script>
<template> <div class="grid gap-6"> <div class="space-y-3"> <div class="text-muted-foreground text-sm font-medium">Small (sm)</div> <NavigationMenu size="sm" aria-label="Small documentation navigation"> <NavigationMenuList> <NavigationMenuItem value="small-getting-started"> <NavigationMenuTrigger>Getting started</NavigationMenuTrigger> <NavigationMenuContent> <ul class="w-96"> <li> <NavigationMenuLink href="/docs/getting-started/introduction/"> <div class="flex flex-col gap-1 text-sm"> <div class="leading-none font-medium">Introduction</div> <div class="text-muted-foreground line-clamp-2"> Reusable components built with Tailwind CSS. </div> </div> </NavigationMenuLink> </li> </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem value="small-components" class="hidden md:flex"> <NavigationMenuTrigger>Components</NavigationMenuTrigger> <NavigationMenuContent> <ul class="grid w-[400px] gap-2 md:w-[500px] md:grid-cols-2 lg:w-[600px]"> <template v-for="component in componentLinks" :key="component.href"> <li> <NavigationMenuLink :href="component.href"> <div class="flex flex-col gap-1 text-sm"> <div class="leading-none font-medium">{{ component.title }}</div> <div class="text-muted-foreground line-clamp-2"> {{ component.description }} </div> </div> </NavigationMenuLink> </li> </template> </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem value="small-status"> <NavigationMenuTrigger>With icon</NavigationMenuTrigger> <NavigationMenuContent> <ul class="grid w-[200px]"> <li> <NavigationMenuLink href="#small-backlog" class="flex-row items-center gap-2"> <AlertCircle />Backlog </NavigationMenuLink> <NavigationMenuLink href="#small-to-do" class="flex-row items-center gap-2"> <CircleDashed />To Do </NavigationMenuLink> <NavigationMenuLink href="#small-done" class="flex-row items-center gap-2"> <CircleCheck />Done </NavigationMenuLink> </li> </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem> <NavigationMenuLink href="/docs/" :class="navigationMenuTriggerStyle()"> Docs </NavigationMenuLink> </NavigationMenuItem> </NavigationMenuList> </NavigationMenu> </div>
<div class="space-y-3"> <div class="text-muted-foreground text-sm font-medium">Medium (md)</div> <NavigationMenu size="md" aria-label="Medium documentation navigation"> <NavigationMenuList> <NavigationMenuItem value="medium-getting-started"> <NavigationMenuTrigger>Getting started</NavigationMenuTrigger> <NavigationMenuContent> <ul class="w-108"> <li> <NavigationMenuLink href="/docs/getting-started/introduction/"> <div class="flex flex-col gap-1.5"> <div class="leading-none font-medium">Introduction</div> <div class="text-muted-foreground line-clamp-2"> Reusable components built with Tailwind CSS. </div> </div> </NavigationMenuLink> </li> </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem value="medium-components" class="hidden md:flex"> <NavigationMenuTrigger>Components</NavigationMenuTrigger> <NavigationMenuContent> <ul class="grid w-[500px] gap-2 md:w-[600px] md:grid-cols-2 lg:w-[700px]"> <template v-for="component in componentLinks" :key="component.href"> <li> <NavigationMenuLink :href="component.href"> <div class="flex flex-col gap-1.5"> <div class="leading-none font-medium">{{ component.title }}</div> <div class="text-muted-foreground line-clamp-2"> {{ component.description }} </div> </div> </NavigationMenuLink> </li> </template> </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem value="medium-status"> <NavigationMenuTrigger>With icon</NavigationMenuTrigger> <NavigationMenuContent> <ul class="grid w-[240px]"> <li> <NavigationMenuLink href="#medium-backlog" class="flex-row items-center gap-2"> <AlertCircle />Backlog </NavigationMenuLink> <NavigationMenuLink href="#medium-to-do" class="flex-row items-center gap-2"> <CircleDashed />To Do </NavigationMenuLink> <NavigationMenuLink href="#medium-done" class="flex-row items-center gap-2"> <CircleCheck />Done </NavigationMenuLink> </li> </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem> <NavigationMenuLink href="/docs/" :class="navigationMenuTriggerStyle()"> Docs </NavigationMenuLink> </NavigationMenuItem> </NavigationMenuList> </NavigationMenu> </div> </div></template><script lang="ts"> import { IconAlertCircle as AlertCircle } from "@tabler/icons-svelte"; import { IconCircleCheck as CircleCheck } from "@tabler/icons-svelte"; import { IconCircleDashed as CircleDashed } from "@tabler/icons-svelte"; import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, navigationMenuTriggerStyle, } from "@/components/starwind/navigation-menu";
const componentLinks = [ { title: "Alert Dialog", href: "/docs/components/alert-dialog/", description: "A modal dialog that asks for a response.", }, { title: "Hover Card", href: "/docs/components/hover-card/", description: "Preview content available behind a link.", }, ];</script>
<div class="grid gap-6"> <div class="space-y-3"> <div class="text-muted-foreground text-sm font-medium">Small (sm)</div> <NavigationMenu size="sm" aria-label="Small documentation navigation"> <NavigationMenuList> <NavigationMenuItem value="small-getting-started"> <NavigationMenuTrigger>Getting started</NavigationMenuTrigger> <NavigationMenuContent> <ul class="w-96"> <li> <NavigationMenuLink href="/docs/getting-started/introduction/"> <div class="flex flex-col gap-1 text-sm"> <div class="leading-none font-medium">Introduction</div> <div class="text-muted-foreground line-clamp-2"> Reusable components built with Tailwind CSS. </div> </div> </NavigationMenuLink> </li> </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem value="small-components" class="hidden md:flex"> <NavigationMenuTrigger>Components</NavigationMenuTrigger> <NavigationMenuContent> <ul class="grid w-[400px] gap-2 md:w-[500px] md:grid-cols-2 lg:w-[600px]"> {#each componentLinks as component (component.href)} <li> <NavigationMenuLink href={component.href}> <div class="flex flex-col gap-1 text-sm"> <div class="leading-none font-medium">{component.title}</div> <div class="text-muted-foreground line-clamp-2"> {component.description} </div> </div> </NavigationMenuLink> </li> {/each} </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem value="small-status"> <NavigationMenuTrigger>With icon</NavigationMenuTrigger> <NavigationMenuContent> <ul class="grid w-[200px]"> <li> <NavigationMenuLink href="#small-backlog" class="flex-row items-center gap-2" > <AlertCircle />Backlog </NavigationMenuLink> <NavigationMenuLink href="#small-to-do" class="flex-row items-center gap-2" > <CircleDashed />To Do </NavigationMenuLink> <NavigationMenuLink href="#small-done" class="flex-row items-center gap-2" > <CircleCheck />Done </NavigationMenuLink> </li> </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem> <NavigationMenuLink href="/docs/" class={navigationMenuTriggerStyle()}> Docs </NavigationMenuLink> </NavigationMenuItem> </NavigationMenuList> </NavigationMenu> </div> <div class="space-y-3"> <div class="text-muted-foreground text-sm font-medium">Medium (md)</div> <NavigationMenu size="md" aria-label="Medium documentation navigation"> <NavigationMenuList> <NavigationMenuItem value="medium-getting-started"> <NavigationMenuTrigger>Getting started</NavigationMenuTrigger> <NavigationMenuContent> <ul class="w-108"> <li> <NavigationMenuLink href="/docs/getting-started/introduction/"> <div class="flex flex-col gap-1.5"> <div class="leading-none font-medium">Introduction</div> <div class="text-muted-foreground line-clamp-2"> Reusable components built with Tailwind CSS. </div> </div> </NavigationMenuLink> </li> </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem value="medium-components" class="hidden md:flex"> <NavigationMenuTrigger>Components</NavigationMenuTrigger> <NavigationMenuContent> <ul class="grid w-[500px] gap-2 md:w-[600px] md:grid-cols-2 lg:w-[700px]"> {#each componentLinks as component (component.href)} <li> <NavigationMenuLink href={component.href}> <div class="flex flex-col gap-1.5"> <div class="leading-none font-medium">{component.title}</div> <div class="text-muted-foreground line-clamp-2"> {component.description} </div> </div> </NavigationMenuLink> </li> {/each} </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem value="medium-status"> <NavigationMenuTrigger>With icon</NavigationMenuTrigger> <NavigationMenuContent> <ul class="grid w-[240px]"> <li> <NavigationMenuLink href="#medium-backlog" class="flex-row items-center gap-2" > <AlertCircle />Backlog </NavigationMenuLink> <NavigationMenuLink href="#medium-to-do" class="flex-row items-center gap-2" > <CircleDashed />To Do </NavigationMenuLink> <NavigationMenuLink href="#medium-done" class="flex-row items-center gap-2" > <CircleCheck />Done </NavigationMenuLink> </li> </ul> </NavigationMenuContent> </NavigationMenuItem> <NavigationMenuItem> <NavigationMenuLink href="/docs/" class={navigationMenuTriggerStyle()}> Docs </NavigationMenuLink> </NavigationMenuItem> </NavigationMenuList> </NavigationMenu> </div></div>Custom triggers
Native NavigationMenuTrigger elements merge ordinary class customization through their full recipe. With asChild, the child instead owns its complete appearance and markup; Navigation Menu adds behavior, accessibility/state attributes, and the Trigger’s consumer-provided class.
API Reference
Styled Component API
These props are added or materially changed by the installed styled component. Standard HTML attributes remain available through the inherited interfaces noted below. Expand a prop to see named type definitions and framework-specific imports. Follow the Primitive and Runtime links for lower-level behavior props.
Navigation Menu
Inherits nav attributes. Omits `defaultValue`, `onChange`, and `value`.
Contains the following additional props:
"start" | "center" | "end" "start"
- Description
- Aligns the component within its available axis.
- Classification
- Wrapper prop
number 0
- Description
- Offsets the component from its selected alignment in pixels.
- Classification
- Wrapper prop
boolean true
- Description
- Repositions floating content to keep it inside the collision boundary.
- Classification
- Wrapper prop
number 8
- Description
- Sets the minimum space retained around a collision boundary.
- Classification
- Wrapper prop
"sm" | "md" size
- Description
- Sets the independently portaled popup content size and defaults to the resolved Navigation Menu size.
- Classification
- Wrapper prop
boolean false
- Description
- Keeps the public Portal wrapper inline instead of moving it to a target.
- Classification
- Wrapper prop
string —
- Description
- Sets the CSS selector for the public Portal wrapper target.
- Classification
- Wrapper prop
"top" | "right" | "bottom" | "left" "bottom"
- Description
- Selects the preferred side for floating content.
- Classification
- Wrapper prop
number 8
- Description
- Sets the distance in pixels between floating content and its anchor.
- Classification
- Wrapper prop
"sm" | "md" "md"
- Description
- Sets the visual size of native styled triggers, List spacing, indicators, and top-level Links using navigationMenuTriggerStyle().
- Classification
- Wrapper prop
Navigation Menu Item
Inherits li attributes.
Contains the following additional props:
string —
- Description
- Controls or identifies the component value.
- Classification
- Wrapper prop
Navigation Menu Trigger
Inherits button attributes.
Contains the following additional props:
boolean false
- Description
- Delegates markup and complete visual ownership to the child while retaining Navigation Menu behavior and accessibility wiring.
- Classification
- Primitive override
- Primitive prop
- navigation-menu.Trigger.asChild
number —
- Description
- Sets the delay in milliseconds before closing.
- Classification
- Primitive override
- Primitive prop
- navigation-menu.Trigger.closeDelay
string —
- Description
- Adds classes to the component's generated icon.
- Classification
- Wrapper prop
number —
- Description
- Sets the delay in milliseconds before opening.
- Classification
- Primitive override
- Primitive prop
- navigation-menu.Trigger.openDelay
boolean true
- Description
- Shows the component's generated icon.
- Classification
- Wrapper prop
Navigation Menu Positioner
Inherits div attributes.
Contains the following additional props:
boolean false
- Description
- Keeps the public Portal wrapper inline instead of moving it to a target.
- Classification
- Wrapper prop
string —
- Description
- Sets the CSS selector for the public Portal wrapper target.
- Classification
- Wrapper prop
number 8
- Description
- Sets the distance in pixels between floating content and its anchor.
- Classification
- Primitive override
- Primitive prop
- navigation-menu.Positioner.sideOffset
"sm" | "md" "md"
- Description
- Sets the popup content size when rendering NavigationMenuPositioner directly.
- Classification
- Wrapper prop
Primitive And Runtime API
Use these references when you need the lower-level behavior APIs behind Navigation Menu.
Primitive API
Runtime API
- Navigation Menu primitive
createNavigationMenufrom@starwind-ui/runtime/navigation-menu
Changelog
View version history v1.4.0 7 releases
v1.4.0
- Navigation Menu trigger keys and indicators follow the visible direction. Its popup keeps the direction of its trigger when it moves into a portal.
- A click during the Navigation Menu close animation now goes to the page below the popup. Before, the closing popup caught the click, so a quick click on a control under it did nothing.
- When you close a Navigation Menu with Escape, focus now goes back to the trigger as the close starts. The closing menu takes no keyboard input until it hides.
- Navigation Menu now stays on screen when its trigger is at the edge of the screen, for example on a phone. Before, the popup kept its alignment, so part of it went off screen. Now the popup moves along its trigger until it is inside the viewport padding. It stays next to the trigger and keeps its side.
- Navigation Menu content with no set width now takes the width of its links. Before, it filled the full width of the screen. The content is never wider than the screen minus 2rem. To set a width, add a width class to
NavigationMenuContent. - In Svelte, the
childrensnippet ofNavigationMenuno longer receives arguments. If you read the value from a snippet argument, usebind:valueinstead. - Update copied
NavigationMenu.sveltefiles withstarwind update navigation-menu. The old files pass the removed arguments. - In React and Vue, a Navigation Menu with a
defaultValueno longer opens again after the user closes it and a prop on it changes. - In Vue, this component now needs Vue 3.5.21 or newer.
- Internal code cleanup, such as unused code and import order. This cleanup does not change behavior.
v1.3.0
- Fixed a Navigation Menu panel that flashed and closed when you moved the mouse to a trigger and clicked it. A click that starts within 500 ms after hover opened the panel now keeps it open. A second click, a later click, the keyboard, and touch still close it.
- In Svelte, a defined
valuethat you pass when NavigationMenu mounts now stays under your control, as in React and Vue. To change it, usebind:or update your state in the change callback. A form reset keeps it. If you passundefinedat mount, NavigationMenu keeps its own state. The first render now follows the initial value. - NavigationMenu no longer moves focus back to its trigger when you move to another control while it closes.
- In Vue, NavigationMenu now moves keyboard focus into its content when you use
v-model. - In Svelte, the NavigationMenu trigger now accepts a link in
child. Before, it warned in development, type checks rejected the link, andrefdid not run. Use the newTriggerChildPayloadtype for your snippet.
v1.2.1
- Fixed links after menu content moves into the shared viewport. They follow your close-on-select settings and affect the correct menu when menus are nested.
- Reduced background work when a React page uses multiple menus, tooltips, or other portals.
- Fixed nested Svelte overlays inside a dialog appearing behind their parent or failing to receive clicks.
- Fixed nested overlays appearing behind their parent in Vue and Svelte. Overlays can now render under the document body; if custom CSS or DOM queries require them to stay inside a parent, set a portal container or add
data-floating-rootto that parent. - Fixed React handling of menu content added to or removed from the shared viewport.
- Fixed React 18 retaining removed popup elements when the parent component stays mounted.
v1.2.0
- Added
portalContaineranddisablePortaltoNavigationMenuandNavigationMenuPositionerfor custom portal targets and inline rendering.
v1.1.1
- The default export in
index.tsnow has a name,NavigationMenuParts, so framework tools show a clear name.
v1.1.0
- Added
smandmdsizes on the root, andcontentSizefor the shared popup, which renders in a portal. If you leave outcontentSize, the popup uses the rootsize. - With
asChild,NavigationMenuTriggernow keeps the look and markup of your child element. Style and size the child yourself, and add an icon inside it if you want one. Navigation Menu still adds the behavior and the accessibility attributes.
v1.0.0
- Added Navigation Menu, with keyboard navigation and one shared area that shows the open panel. It gets its behavior from Starwind Runtime.
- See the Navigation Menu Primitive for the unstyled parts and the behavior API.