Display keyboard keys and shortcuts with proper styling.
Copy the following code into your app directory.
Command
Command
Manual
Manual
uv
Use the following composition to build a Kbd
Below are examples demonstrating how the component can be used.
A basic example showing a single styled keyboard key.
⌘⇧⌥⌃Ctrl+B
Displays familiar keyboard shortcuts like copy or paste.
Save:
Ctrl+SCopy:
Ctrl+CPaste:
Ctrl+VUndo:
Ctrl+ZShows styling for special keys such as Enter, Tab, or Esc.
EnterEscTabSpace←→↑↓DeleteBackspace
Demonstrates multi-key combinations for advanced shortcuts.
Screenshot:
Ctrl+Shift+SQuit:
⌘+QFull Screen:
F11Displays keyboard shortcuts paired with icons for clarity.
+K