Kbd
atomsKeyboard shortcut chips: one kbd per key with platform-aware glyphs, so mod reads ⌘ on a Mac and Ctrl elsewhere.
Shortcut cheat sheet
keys="mod+k" style strings; the modifier glyphs follow the platform.
Keyboard shortcuts
Open the command palette Control K
Send the message Control Enter
New line in the composer Shift Enter
Search across conversations Control Shift F
Close the panel Escape
Move the item up Alt Up arrow
Sizes and key tokens
size sm, md or lg; keys as a + string or an array; named keys map to glyphs (enter ↵, shift ⇧, arrows).
Control S Control S Control S Control Alt Delete Shift Tab Space Up arrow Down arrow Left arrow Right arrow Command Alt F5
In hints, buttons and tight rows
inline inside a field hint, trailing a button label, shrink={false} inside a squeezed row and block to fill a line.
Press Control Enter to submit, Escape to discard.
A long menu item label that competes with its shortcut for the row width Control Shift P
Control Shift Alt EnterProps
| Prop | Type | Default | Description |
|---|---|---|---|
keys required | string | string[] | — | |
size | ControlSize | 'sm' | |
grow | boolean | false | |
shrink | boolean | true | |
block | boolean | false | |
class | string | '' |