Velocity X Components

Standard Navigation

Keyboard Shortcuts Help Panel

A reference panel listing every keyboard shortcut your app supports, grouped by area, opened with a single press of ? like Linear and GitHub — without hijacking the key while someone's typing in a search box or form field.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add standard-keyboard-shortcuts-help

Built for react. Needs react already installed as a peer dependency. An Astro-only project needs @astrojs/react wired up first — this won't run on its own in plain Astro.

Full docs for Keyboard Shortcuts Help Panel →

Needs a licence key — subscribe here, then velocityx loginonce.

react v1.0.1 react
Keyboard Shortcuts Help Panel

Props

NameTypeRequiredDefaultDescription
groups{ id?: string, label: string, shortcuts: { keys: string[], description: string }[] }[]No[]
triggerLabelstringNo'Keyboard shortcuts'
hintstringNo'Press ? for keyboard shortcuts'
hideTriggerbooleanNofalse
classNamestringNo''applied to the trigger button

File this creates

The CLI writes this path into your project, relative to its root — nothing else moves.

text
components/velocity/standard-keyboard-shortcuts-help/StandardKeyboardShortcutsHelp.jsx

Using the Keyboard Shortcuts Help Panel component

Install it with velocityx add standard-keyboard-shortcuts-help. The CLI writes the source straight into your project — no runtime dependency, no registry lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.

More from Standard Navigation.