Skip to content

view on a desktop screen for a better experience.

keys

Keys

Keyboard shortcuts drawn as keycaps. Write `- ⌘K: search`, `- Ctrl+Shift+P: palette`, or `- g then d: docs`. Bold is the one to learn first.

shortcuts

`keys: action`. Modifier glyphs split into their own caps. `then` starts the next chord. Bold is the one to learn first.

[ SHORTCUTS ]
⌘K
search the docs
⌘⇧C
copy the page as Markdown
Ctrl+Shift+P
command palette
g then d
go to docs
Esc
close

MDX

<Keys title="SHORTCUTS">

- **⌘K: search the docs**
- ⌘⇧C: copy the page as Markdown
- Ctrl+Shift+P: command palette
- g then d: go to docs
- Esc: close

</Keys>

install

command

[ PROPS ]
PropTypeDefaultDescription
titlestring"keys"Caption drawn on the top edge of the frame.
childrenMarkdown—A list of `keys: action`. `+` or a space joins a chord; `then` starts the next.
bindings{ keys, action, accent? }[]—Data form.
palette"mono" | "duo" | "multi""mono"mono is one accent plus muted. duo paints the second series with --graph-accent-2. multi cycles three accents.
cornerstring"+"Character at each corner of the frame.
classNamestring—Passed to the outer frame.