Skip to content
Calm motion: animations on this site only fade, with no movement

Shortcut sheet ​

Keyboard shortcuts in groups, with a search

A list of the keyboard shortcuts of an app, in groups, so a person can learn them. Put it in a modal that opens with "?". To let a person set a shortcut, use the shortcut recorder.

Basic

Player

Play or pause
Space
Skip forward 10 seconds
LorShift→
Skip back 10 seconds
JorShift←
Mute
M

Editing

Cut the selection
CtrlX
Undo
CtrlZ
Redo
CtrlShiftZ
Add a marker
B

App

Open the command menu
CtrlK
Save the project
CtrlS
Show this list
?
  • groups is a list of { title, shortcuts }. Each shortcut is { keys, description }.
  • keys is a combo such as Mod+K, or a list of combos that do the same thing, with "or" between them. The keys show as BlessKbd.
  • Mod is ⌘ on Apple devices and Ctrl on other devices, and Alt is ⌥ on Apple devices. The device is read after the page loads, so the server and the browser agree.
  • The search box filters the shortcuts by their words or their keys. A group with no match does not show. search (on by default) shows or hides the box.
  • The groups go in two columns on a wide screen. Each shortcut is a pair in a description list, so screen readers say the action and then its keys.
  • Change the words with labels or a label pack: search, none, and or.

Usage ​

ts
import { BlessShortcutSheet, type BlessShortcutGroup } from "blessing-ui";

API ​

Props

NameTypeDefaultDescription
groups*BlessShortcutGroup[]—
searchbooleantrueshow a search box over the list
labelsPartial<{ search: string; none: string; or: string; }>—

Released under the MIT License. Character names and artwork belong to their owners.