API reference
@salmonui/navigation/sidebar-menu
11 exported symbols: 1 function, 7 interfaces, 2 types and 1 constant. Each name links its page with the signature, docs and members.
import { … } from '@salmonui/navigation/sidebar-menu';Functions
SidebarMenuVertical application navigation: links, submenus, group headings, selection and an icon rail.
Interfaces
SidebarMenuExpandedChangeEventSecond argument of onExpandedChange.SidebarMenuGroupA non-collapsible heading over a list of items.SidebarMenuItemA link, an action or a submenu.SidebarMenuLinkPropsProps a link item passes to renderLink: spread all of them on the link element.SidebarMenuLocaleTextStatic texts of SidebarMenu. Plain JSON, safe to pass from a server component.SidebarMenuPropsSidebarMenuSelectedChangeEventSecond argument of onSelectedChange.
Types
SidebarMenuEntryAn entry of items: groups only at the top level.SidebarMenuSourceInput that caused a change.