Form Inputs

Search Field

A specialized text input for search functionality, featuring a search icon and clear button. Provides familiar search UX patterns with keyboard support and accessible labeling.

Placeholder text#

With delay#

Component props#

NameTypeDescription
labelstringLabel text displayed above the field
placeholderstringPlaceholder text
valuestringControlled value
defaultValuestringDefault value (uncontrolled)
delaynumberDebounce delay in ms before onSearch fires (default: 0)
onChange(value: string) => voidCalled on every change
onSearch(value: string) => voidCalled after delay (debounced)