SearchFilterBar
patternCompact toolbar recipe for filtering and sorting lists and data tables. Composes the Filter molecule family — FilterSearch, FilterSelect, FilterMultiSelect, and FilterDateRange — into a cohesive bar with conditional clear-all and view toggle.
Full toolbar
Search, single/multi-select filters, date range, clear all, sort, and view toggle.
Minimal
Search and sort only — simplest variant.
Pipeline filters
Multi-select filters only — for pipeline and kanban views.
Usage
Installation
API Reference
SearchFilterBar props — * required
| Prop | Type | Default | Description |
|---|---|---|---|
Row | component | — | Horizontal flex container for the toolbar layout. |
FilterSearch | component | — | Collapsible search icon that expands to an input on click. |
FilterSelect | component | — | Single-select button + menu popover (e.g. Availability, Sort). |
FilterMultiSelect | component | — | Multi-select filter with chip count badge in trigger. |
FilterDateRange | component | — | Date range button + calendar popover. |
SegmentedControl | component | — | View toggle (grid/list) pushed to the right edge. |
Button variant="ghost" | component | — | Conditional Clear All button that appears when any filter is active. |