Keyboard shortcuts
A reference for the keyboard interactions shared across every primitive.
List navigation
Used by RadioGroup, Tabs, Accordion, and Select.
| Key | Action |
|---|---|
| ArrowDown / ArrowUp | Move focus to next / previous item (vertical) |
| ArrowRight / ArrowLeft | Move focus to next / previous item (horizontal) |
| Home / End | Jump to first / last item |
| Enter / Space | Activate the focused item |
| Type-ahead (Select only) | Focus the first option matching typed characters |
Modal navigation
Used by Dialog.
| Key | Action |
|---|---|
| Escape | Close the dialog |
| Tab / Shift+Tab | Cycle focus within the dialog |
| — | Focus returns to the trigger on close |
Toggles
Used by Checkbox and Switch.
| Key | Action |
|---|---|
| Space | Toggle the control |
| Enter | Toggle (Switch only) |
Last updated on