Tailwind CSS KBD (Keyboard)
Display keyboard shortcuts and key labels with Tailwind CSS kbd styles, icons, and size variants.
Working with icons
Use icons inside keycaps to represent non-text keys such as arrows and command keys.
Working with modifiers
Combine multiple KBD elements to display keyboard shortcuts with modifier keys.
Input example
Show shortcut hints inside an input to surface keyboard commands such as Command + /.