- Implementation
- SearchField Props
Common Examples
Controlling search inputs
The value of search inputs are uncontrolled by default. To control a search input, use thevalue prop.Uncontrolled
Controlled
Form Example
TheSearchField component uses an HTML input and so can be used within an HTML form the same way that a regular HTML input element can.React Accessibility
Addaria-label or aria-labelledby so that screen readers can properly announce what this is searching.For more guidance on form field labels and context, see input field context association best practices.

