| Prop | Type | Default | Description |
|---|---|---|---|
value | string | — | Controlled input search value. |
defaultValue | string | "" | Initial default search value. |
placeholder | string | "Search anything..." | Placeholder text shown when input is empty. |
onChange | (value: string) => void | — | Callback fired whenever the text value changes. |
onSubmit | (value: string) => void | — | Callback fired when the form or submit button is triggered. |
onClear | () => void | — | Callback fired when the clear button is clicked. |
className | string | — | Additional CSS class names. |
stiffness: 420, damping: 28, mass: 0.8).