XDSNavMenuItem@xds/core · NavMenu
Preview coming soon

Usage

Menu item used within navigation components like SideNav and TopNav.

Import

ts
import {XDSNavMenuItem} from '@xds/core/NavMenu'

Props

PropTypeDescription
labelrequired
ReactNodePrimary label text.
icon
XDSIconTypeIcon displayed before the label.
description
ReactNodeSecondary description below the label.
href
stringURL to navigate to. Renders as an anchor.
onClick
() => voidCallback when the item is selected.
isDisabled
boolean (default: false)Whether the item is disabled.