Components
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
leadingIcon | Icon | No | — | Optional icon displayed before the label. |
trailingIcon | Icon | No | — | Optional icon displayed after the label. |
className | string | ClassNameComponent<MenuItemInterface> | No | — | Classes or state-aware element classes applied through the shared style contract. |
children | ReactNode | No | — | Custom visible label content; falls back to `label`. |
disabled | boolean | No | false | Prevents activation, selection changes, and keyboard focus. |
value | string | number | No | — | Stable application value emitted or consumed by a parent selection surface. |
label | string | No | — | Text label used when an adapter does not project custom content. |
variant | MenuVariant | No | — | Overrides the color treatment inherited from the parent Menu. |
selectionType | MenuItemSelectionType | No | — | Declares whether the item is an action, radio-like choice, or checkbox-like choice. |
selected | boolean | No | — | Controlled selection state. |
defaultSelected | boolean | No | false | Initial selection state when uncontrolled. |
onSelectedChange | (selected: boolean) => void | No | — | Notifies each accepted selection transition exactly once. |
href | string | No | — | Optional navigation target; disabled links omit the native href. |