Kbd
Displays keyboard input that triggers an action in the application.
Single Keys
Display individual keyboard keys.
Key Combinations
Combine multiple
kbd
elements with a separator for keyboard shortcuts.
Mac Shortcuts
Use special characters for Mac modifier keys.
Arrow Keys
Display navigation keys.
In Context
Use kbd elements inline with text to describe shortcuts.
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.