Skip to content

HotkeyPalette

HotkeyPalette(__namedParameters): ReactElement<{ ref: RefObject<OverlayRootWidget | null>; }, string | JSXElementConstructor<any>> | null

Defined in: react/components/overlay/hotkey-palette.tsx:144

A global command palette listing every registered hotkey by group, filterable by name/description/group/key. Mount it once near the root; it registers its own toggle binding (default Ctrl+Space) and opens as a modal dialog over the UI. Arrow keys move the selection, Enter runs the selected command, Esc (or an outside click) closes.

<HotkeyPalette /> // Ctrl+Space
<HotkeyPalette toggleKey="f1" title="Shortcuts" />

HotkeyPaletteProps

ReactElement<{ ref: RefObject<OverlayRootWidget | null>; }, string | JSXElementConstructor<any>> | null