WritedocsWritedocs

Searchbar

Wraps a table (or any other content) with a text input above it that live-filters rows by their own text — useful for a reference table long enough that scanning it by eye stops being practical:

<Searchbar>
| ID  | Name    | Age | Country   | Score |
|---- |---------|---- |-----------|-------|
| 1   | Alice   | 25  | USA       | 87    |
| 2   | Bob     | 30  | Canada    | 92    |
</Searchbar>

Searchbar props

placeholderstringdefault: "Search..."