SearchBar
Search form with input, submit button, and optional filter slot.
Example
Props
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
label | string | — | No | Input label (visually hidden) |
placeholder | string | — | No | Input placeholder text |
buttonLabel | string | — | No | Submit button text |
onSearch | (e: FormEvent) => void | — | No | Form submit handler |
filters | ReactNode | — | No | Filter controls slot |