AISearchBox
Search input with a keyboard-navigable suggestions dropdown. Supports the ⌘K / Ctrl+K global focus hotkey, arrow-key navigation, and Enter to pick or submit the raw query.
Source
src/components/ai/ai-search-box.tsxLive-filtered suggestions
Type into the field — suggestions filter by substring and ⌘K / Ctrl+K focuses the input from anywhere on the page.
Ctrl K
Loading state
Pass loading to swap the hotkey pill for a spinner while the backend is generating AI completions.
Empty input — static top picks
When value is empty, surface a static list of popular queries instead of filtered suggestions.
Ctrl K