?-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).
Or press ? anywhere on this page — then press any key to see keycap depress
Groups shortcuts by context (Navigation / Selection / Actions)
| Prop | Type | Default | Description |
|---|---|---|---|
shortcuts | KeyboardShortcut[] | [] | Flat list of {key, description} |
sections | KeyboardShortcutSection[] | - | Grouped sections (overrides flat list) |
title | string | "Keyboard Shortcuts" | Modal heading |
open | boolean | false | Bindable open state |