SearchInput
Forms

SearchInput.

A controlled search field with an accessible clear action.

Real interactive component
Live demo
Search: Nothing entered

The preview uses the actual shared component, including your current theme, rounding, border and motion preferences.

Props & API reference

Parameters available in the shared component, including value types, requirements and accepted options.

6 props
ParameterTypeRequiredDefaultPossible valuesDescription
valuestringYes——Controlled search text.
onValueChange(value: string) => voidNo——Called on edits or clearing the query.
placeholderstringNoSearch—Search hint.
labelstringNoSearch—Accessible input name.
disabledbooleanNofalsetrue · falseDisable searching.
classNamestringNo——Additional CSS class on the outer component element.