Kbd

Display keyboard keys and shortcuts in a visually consistent way. Useful for documentation, tooltips, command palettes, and UI hints showing keyboard shortcuts.

PreviousNext
EscCtrl

Installation

1

Run the CLI

Use the CLI to add the component to your project.

Loading...

Examples

default

EscCtrl

group

Use Ctrl + K or Ctrl + O to open menu

tooltip

API Reference

z-kbd

Use z-kbd component to display a keyboard key.

Input Type Default Description
class ClassValue '' Additional CSS classes

z-kbd-group

Use z-kbd-group component to group z-kbd components together.

Input Type Default Description
class ClassValue '' Additional CSS classes