SideNav
Product side nav: brand header, icon items, optional badges, closeable; variant single (one column that closes to an icon rail) or rail-subnav (a fixed icon rail plus a SideNav.SubNav column with the picked parent's rows).
Horizontal site nav with kit DropdownMenu dropdowns.
Horizontal site nav. Dropdowns are kit DropdownMenu. Not SideNav. Not DocsNav.
Home and Docs are links. The rest open kit DropdownMenu with ChevronDown.
Pass a flat list of links and dropdowns. Dropdowns compose kit DropdownMenu with triggerStyle=nav. Do not invent List, Trigger, Content, or Link cousins.
Horizontal site nav. Dropdowns are kit DropdownMenu. Not SideNav. Not DocsNav.
import { NavigationMenu } from "agentic-ds-kit";From contracts/navigationmenu.json: must is the a11y requirements, defaults the prop defaults, stops if the doNot rules where the agent asks instead of inventing a cousin.
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
| items | array | Yes | — | A dropdown item is detected by groups. A link item has href and no groups. |
| onSelect | function | No | — | (id: string) => void |
Product side nav: brand header, icon items, optional badges, closeable; variant single (one column that closes to an icon rail) or rail-subnav (a fixed icon rail plus a SideNav.SubNav column with the picked parent's rows).
Docs and catalog sidebar only: title, grouped text-only links, optional decorative icons and muted counts on group and subgroup headers only, an active page pill and optional footer links.
Path to the current page as a hierarchy of links.
Switch between related views in place.