SearchInput
A native search field with a leading search icon and one clear action.
Preview
Use SearchInput
SearchInput is a named export of @flood-md/react. Connect the package once, then import what you use.
Design notes
- Native onChange, name, form, reset, ref and Field associations are preserved. clearable defaults to true; read-only hides the clear action. Translate clearLabel. Enter keeps native form submission; filtering belongs to the host.
- Composes Flood InputGroup, IconSlot and IconButton using existing semantic geometry and feedback states. Available in 0.2.5.
API reference
View TypeScript source