Skip to content

Function: useSearch()

useSearch(options?): UseSearchState

Search-as-you-type against AppKit AI Search. Debounces input, cancels stale native queries, and exposes { query, setQuery, hits, loading, error } for a search box to render.

UseSearchOptions = {}

UseSearchState