FilterBar
v1.0.8Updated 27 Aug 2026Horizontal toolbar of filter chips, search, and view actions. Sits above a DataTable or list to drive its query.
Preview
Live · 11 storiesDefaultOpen ↗
▸Why this is recommendedfiltertoolbarchipssearch+2
The default, out-of-the-box FilterBar.
Recommended for+14
- ✓Above DataTables
- ✓List pages with multiple facets
- ✓Inbox-style filters
Tags+6
filtertoolbarchipssearchdatadefault
Features+4
- Search input slot
- Removable filter chips with values
- Add-filter dropdown
- View preset selector
- Clear-all button
- Right-aligned actions
- i18n: labels prop on the FilterBar root (or any slot) overrides every built-in UI string (chip remove aria, Clear all, sort + density copy) — see FilterBarLabels / DEFAULT_FILTER_BAR_LABELS
Not recommended for−2
- ✕Inside dialogs (use form fields directly)
- ✕Pages with only one filter (use a Select)
Install
Ask your agent, or call the MCP tool directly. The resolved bundle is written into your project.
Usage
Tick variants in the left menu — each adds a tab with that variant’s real story source, the same code the preview above renders.
Props
PropTypeRequired
searchSearch query
—onSearchSearch change callback
—filtersActive filter chips
—onAddFilterAdd-filter handler
—labelsOverride any built-in UI string — chip remove aria, Clear all, sort + density copy (i18n). Set on the FilterBar root it flows to every slot via context; each slot also accepts its own labels. Merged over DEFAULT_FILTER_BAR_LABELS.
—