Component
A button-triggered dropdown menu with full keyboard navigation. Supports sub-menus, separators, and portal rendering.
View component changelogpreview
Import all parts of the component and piece them together
| Shortcut | Description |
|---|---|
Enter | Opens the menu from the trigger, or activates the focused menu item. |
Space | Opens the menu from the trigger, or activates the focused menu item. |
ArrowDown | Opens the menu and moves focus to the first item, or advances to the next item. |
ArrowUp | Moves focus to the previous item while the menu is open. |
Escape | Closes the menu and returns focus to the trigger. |
| Reference | What Rad UI follows |
|---|---|
Follows menu button guidance for a button-triggered menu, popup state, keyboard opening, item navigation, and dismissal. |