Kbd
Displays keyboard input that triggers an action in the application.
Default
Enter
Single Keys
Display individual keyboard keys.
Single Keys
Esc
Tab
Space
Enter
Backspace
Key Combinations
Combine multiple
kbd
elements with a separator for keyboard shortcuts.
Combinations
Ctrl
+
C
Copy
Ctrl
+
V
Paste
Ctrl
+
Shift
+
Z
Redo
Mac Shortcuts
Use special characters for Mac modifier keys.
Mac Shortcuts
⌘
+
K
Command palette
⌘
+
S
Save
⌥
+
⇧
+
F
Format
Arrow Keys
Display navigation keys.
Arrow Keys
↑
↓
←
→
In Context
Use kbd elements inline with text to describe shortcuts.
In Context
Press ⌘ K to open the command palette.
Use ↑ and ↓ to navigate, Enter to select.
Press Esc to close.
Shortcut List
A common pattern for displaying a list of keyboard shortcuts.
Shortcut List
Search
⌘
K
New file
⌘
N
Settings
⌘
,