easeUI

Command Palette

Command-K style search overlay that filters as you type, with arrow keys to move the highlight and Enter to select.

Last selected: New document

Suggestions
Settings

Installation

$ bunx --bun shadcn add @easeui/command-palette

API reference

ComponentPropTypeDefaultDescription
CommandPaletteopenboolean-Whether the palette is open.
CommandPaletteonOpenChange(open: boolean) => void-Called when the palette asks to close, from Escape, the backdrop, or a selection.
CommandPalettelabel?stringCommand paletteNames the dialog for screen readers. Default "Command palette".
CommandPaletteclassName?string--
CommandListclassName?string--
CommandGroupheading?any--
CommandGroupclassName?string--
CommandSeparatorclassName?string--
CommandItemvalue?string-Text matched against the search query. Falls back to string children.
CommandItemkeywords?{}-Extra terms that also match, invisibly, such as synonyms or a keyboard shortcut.
CommandItemonSelect?(() => void)--
CommandItemdisabled?booleanfalse-
CommandItemclassName?string--

Updated