Overlays
Command Palette Search
Command Palette Search: A keyboard-summoned overlay with a search field at top and a live-filtered, grouped list of commands below it, navigated entirely by keyboard and run with Enter.
Using Command Palette Search
Command Palette Search uses the card preview frame with a dark theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
accentColor | color | #7C5CFF | No additional limit in the metadata. |
placeholder | text | Type a command or search... | Up to 60 characters |
groupCount | number | 3 | From 1 to 4; step 1 |
Which frameworks are available for Command Palette Search?
Command Palette Search is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Command Palette Search depend on?
The React metadata lists these npm dependencies beyond React: motion, clsx.
What accessibility details are visible in Command Palette Search?
The React source for Command Palette Search includes: native elements (button, input); attributes and handlers (aria-activedescendant, aria-controls, aria-expanded, aria-hidden, aria-label, aria-modal, aria-selected, onKeyDown); explicit roles (combobox, dialog, listbox, option); key comparisons (ArrowDown, ArrowUp, Enter, Escape). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Command Palette Search handle reduced motion?
Command Palette Search reads the motion preference in its React source through matchMedia(prefers-reduced-motion). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.