ComponentsKeyboard shortcut
Keyboard shortcut
Show the keys someone can use to perform an action.
Open search/
Setup
Download the shared Inlay assets once. Then choose HTML, React, or Vue and copy the example above.
Command palette shortcut
Show the keyboard shortcut for library search on macOS and Windows or Linux.
- Search on macOS
- ⌘K
- Search on Windows or Linux
- Ctrl+K
Key combinations
Group keys that are pressed together.
Move focus backward
ShiftTab
Search hint
Place a shortcut hint next to the field it targets.
/
Button hint
Add a keycap to a button so the keyboard action is visible.
Two teammates have reviewed this draft.
Tooltip hint
Show the keyboard hint on hover or focus to keep the action compact.
Press Enter or Space to toggle activity.
The draft was updated today.
Right-to-left shortcut
Let the label follow the page direction while keeping the keys in chord order.
الانتقال إلى الحقل السابق
ShiftTab
Shortcut reference panel
Focus the reference panel and press Alt + Shift + K to show or hide the list. You can also open it with the button.
Workspace shortcuts
- Show or hide shortcuts
- AltShiftK
- Move focus forward
- Tab
- Move focus backward
- ShiftTab
Usage
| Semantics | Use kbd for keys and combinations. A displayed key does not register a shortcut. |
|---|---|
| Platform | Show shortcuts appropriate to the platform when your application supports different bindings. |
| Bindings | Publish the actual binding with aria-keyshortcuts on the action. Register a separate key listener, scope it to the relevant view, and ignore editable controls and composition events. Keep the action usable without a shortcut. |