Kbd
A visual representation of keyboard inputs, commands, or shortcuts in the UI.
⌥⌘K
Usage
API Reference
Prop | Value | Default |
---|---|---|
keys | KbdKey | KbdKey[] | / |
size | Enum | "xs" |
Accessibility
Keys are labeled with the title
attribute describing the key. For example, the option
key is labeled with title="option"
.
KbdKey
type is defined like this:
Examples
The following example shows different size
props of the Kbd
component.
⌥⌘W⌥⌘D⌥⌘G⌥⌘S