Props
| Prop | Type | Default | Notes |
|---|---|---|---|
keys | string | '' | Shortcut text as one space-separated string. Use tokens like $mod, $alt, $shift, $enter, and arrow names instead of writing delimiter characters. |
label | string | '' | Optional accessible label. When unset, the rendered shortcut text becomes the host aria-label. |
platform | 'auto' | 'mac' | 'windows' | 'linux' | 'auto' | Uses the detected platform by default, or forces a specific platform rendering for docs and mixed-platform references. |
appearance | 'normal' | 'unstyled' | 'normal' | unstyled removes the keycap styling so the shortcut can sit inline with surrounding text. |