Components / Library version 3.25.1
Menu Item
The menuitem component can only be used within the action menu component.
icon
string
A reference to a Material Design Icon. Adding this property will include an icon before the menuitem text. Optional.
Commonly used icons:
Icon | Unicode |
---|---|
f739 | |
f630 | |
f12c | |
f133 | |
f1c0 | |
f207 | |
f3eb |
See the complete list on the
Material Design Icon CDN Opens a new window
.
Use the icon name (without the mdi-
prefix).
disabled
boolean
Disables the item.
description
string
Provides descriptive text for the menuitem. Description text has a character limit of 100 characters, and disallows use of the
icon
prop.Usage in HTML
Edit the code below to see changes reflected in the example above.
Usage in Elm
Code generated from HTML.
See the action menu.