SearchList

Command search with instant filtering, keyboard focus, and an empty state.

Installation

Preview

5 results available

Source

Adapted from slev12397/beautiful-ui under the MIT License. Commercial icons were replaced and demo analytics were removed; attribution remains bundled with the component foundation.

API Reference

PropTypeDefaultDescription
itemsreadonly string[]Searchable options.
querystringControlled search value.
defaultQuerystring""Initial query.
placeholderstringInput placeholder.
onQueryChange(query: string) => voidReports query changes.
onSelect(item: string) => voidHandles option selection.