Action
Menu
A list of actions that pops up from a button.
Demo
Also known as
- Menu button — Carbon Design System
- Dropdown — Ant Design
- メニューリストボックス — デジタル庁デザインシステム
How to recognize it
A button, often with a downward arrow or a “⋯” icon. Pressing it shows a small panel of action names stacked vertically.
Variations
- Overflow menu
- Opened from an icon-only “⋯” button, often in table rows or cards to hold extra actions.
Behavior
- Opening the menu moves focus to its first item.
- Choosing an item runs that action and closes the menu.
- Pressing Esc, pressing Tab, or clicking outside closes the menu without running anything.
Keyboard
| Key | Action |
|---|---|
| Enter / Space | On the button, opens the menu. On an item, runs it and closes the menu. |
| ↓ | On the button, opens the menu at the first item. In the menu, moves to the next item. |
| ↑ | On the button, opens the menu at the last item. In the menu, moves to the previous item. |
| Home / End | Moves to the first or last item. |
| Esc | Closes the menu and returns focus to the button. |
| Tab | Closes the menu and moves on to the next element. |
Usage notes
- Open it on click, not on hover.
- Align the panel with the left or right edge of its button.
Similar components
- Select: A menu runs an action when an item is chosen; a select keeps the chosen option as a form value.
- Split button: A menu button only opens the menu; a split button also runs a main action directly.
- Toolbar: A menu hides actions in a list that opens on demand; a toolbar keeps a group of controls visible in a row.
Sources
- WAI-ARIA APG: Menu Button Pattern (Last checked: )
- WAI-ARIA APG: Menu and Menubar Pattern (Last checked: )
- Carbon Design System: Menu buttons (Last checked: )
- Ant Design: Dropdown (Last checked: )
- デジタル庁デザインシステムウェブサイト「メニューリストボックス」をもとに作成 (Last checked: )