Components · Form & Input
A text input pre-wired with a search icon and a clear button for filtering content.
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
| placeholder | string | — | — | Placeholder text shown when empty. |
| value | string | — | — | Controlled value of the search field. |
| onClear | () => void | — | — | Called when the user clicks the clear button. |
| size | 'sm' | 'md' | 'lg' | — | — | Controls font size and padding. |
import { Search Input } from '@nexub/react';