Kbd

Display keyboard keys and shortcuts in a visually distinct way.

Sizes

Three size variants for different contexts.

Small

Default

Large

Single Keys

Individual keyboard keys with proper styling.

EscTabCapsShiftCtrlAltSpaceEnterDelete

Modifier Keys

Common modifier keys with symbols.

Command (Mac)
Option (Mac)
Control
Shift

Arrow Keys

Navigation arrow keys.

Common Shortcuts

Frequently used keyboard shortcuts.

Copy
C
Paste
V
Cut
X
Undo
Z
Redo
Z
Save
S
Select All
A
Find
F

Function Keys

F1 through F12 function keys.

F1F2F3F4F5F6F7F8F9F10F11F12

In Context: Command Menu

How keyboard shortcuts appear in a command menu.

Search
K
New File
N
Open File
O
Save
S
Print
P

Complex Shortcuts

Multi-key combinations for advanced actions.

Developer Tools
I
Force Quit
Esc
Screenshot
4
Lock Screen
Q

Windows Shortcuts

Common Windows keyboard combinations.

Task Manager
CtrlShiftEsc
Lock Screen
WinL
File Explorer
WinE
Settings
WinI

In Tooltip Context

Shortcuts displayed within button tooltips.

Bold
B
Italic
I
Underline
U

Special Characters

Keys for punctuation and special characters.

`~!@#$%^&*()-=[]\/

Text Editor Shortcuts

Common shortcuts for code editors.

Navigation

Go to Line
G
Go to File
P
Go to Symbol
O
Go to Definition
F12

Editing

Duplicate Line
D
Delete Line
K
Comment
/
Format
F

Inline Usage

Keyboard shortcuts within paragraph text.

Press K to open the command palette, then type the command you want to run.

Use Tab to navigate between fields and Enter to submit the form.

Hold while clicking to select a range of items, or to select multiple individual items.

Press Esc at any time to close the current modal or cancel the operation.