jatui

KeyboardShortcutsOverlay

?-triggered modal; on-screen keycaps depress on physical keydown while open

Mount once per page and press ? to open. Closes on Escape or another ?. Ignored while typing in inputs. While open, physical keydowns depress the matching on-screen keycap (translateY(1px) + tint, 80ms).

Flat shortcut list

Or press ? anywhere on this page — then press any key to see keycap depress

Sectioned layout

Groups shortcuts by context (Navigation / Selection / Actions)

Props

PropTypeDefaultDescription
shortcutsKeyboardShortcut[][]Flat list of {key, description}
sectionsKeyboardShortcutSection[]-Grouped sections (overrides flat list)
titlestring"Keyboard Shortcuts"Modal heading
openbooleanfalseBindable open state