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.
- ⌘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
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | "keys" | Caption drawn on the top edge of the frame. |
| children | Markdown | — | 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. |
| corner | string | "+" | Character at each corner of the frame. |
| className | string | — | Passed to the outer frame. |