Search Bar
A composed search input with icon, text field, and clear button in a pill-shaped container.
Examples
Default
Search
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| defaultValue | string | — | Initial value of the input |
| placeholder | string | "Search" | Placeholder text |
| onClear | () => void | — | Callback when clear button is clicked |
| onChange | (value: string) => void | — | Callback when input value changes |
| className | string | — | Additional CSS classes |