Skip to main content

Searchbar

A text input preconfigured for search — leading search icon, always-clearable, and optional debounced onChangeText.

Playground​

🔍
<Searchbar
placeholder="Search…"
onChangeText={setQuery}
/>

Basic usage​

🔍
<Searchbar placeholder="Search components…" onChangeText={setQuery} />

Props​

PropTypeDefaultDescription
iconTVajraIconComponentLeading icon. Defaults to a plain 🔍 glyph.
debounceMsnumber0Delay before onChangeText fires after typing stops. 0 disables debouncing.

Also accepts all Input.Outline props (value, onChangeText, label, size, etc.) except startElement and isClearable, which Searchbar sets internally.