Menu
A list of actions for the current object. Choosing an item runs the action. It does not set a form value.
Playground
Variants and states
| Property | Options | Notes |
|---|---|---|
| items | verbs or values | Actions run a command. Selection menus mark the current value with a check. |
| selected | one item / none | Trailing checkmark only when the menu shows a selected option. |
| search | true / false | Optional filter field at the top of the open menu. |
| width | 180–278px | Width follows the longest option, at least 180px and at most 278px. |
| destructive | true / false | Last in an action list, danger tone. |
Accessibility
- The trigger is a button.
- Arrow keys move through items. Escape closes the menu.