?-triggered modal listing keyboard shortcuts; supports flat and sectioned layouts
Mount once per page and press ? to open. Closes on Escape or another ?. Ignored while typing in inputs.
Or press ? anywhere on this page
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 |