Skip to content

HotkeyPaletteProps

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

Props for the HotkeyPalette overlay.

optional maxVisible?: number

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

Maximum rows (group headers + commands) listed at once. Defaults to 14.


optional placeholder?: string

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

Filter input placeholder.


optional title?: string

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

Heading shown in the palette title bar. Defaults to "Commands".


optional toggleKey?: string

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

Key that toggles the palette. Defaults to "ctrl+space" — recognized on both legacy (NUL byte) and Kitty-protocol terminals, and rarely bound by terminal emulators themselves. Pick another (e.g. "f1", "ctrl+k") if your users live in tmux/emacs/IME setups where Ctrl+Space is taken.


optional width?: number

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

Panel width in columns. Defaults to 64.