Skip to main content
The FilterChip component provides a complete filtering interface in a compact chip format. It supports multiple filter types including text, select, multiselect, and date filters with customizable operations.

Usage

Filter types

Custom operations

With leading icon

Text variant

API reference

FilterChip

string
required
The label text for the filter.
string
The initial value of the filter.
FilterTypes
default:"FilterType.string"
The type of filter. Options: FilterType.string, FilterType.select, FilterType.multiselect, FilterType.date.
FilterSelectOption[]
Array of options for select and multiselect filters. Each option has label and value properties.
FilterOperator<string>[]
Custom array of filter operations. If not provided, defaults based on columnType.
(value: any, operation: string) => void
Callback fired when the filter value changes. Receives the new value and current operation.
(operation: string) => void
Callback fired when the filter operation changes.
() => void
Callback fired when the remove button is clicked. If provided, shows the remove button.
ReactElement
An icon to display before the label.
'default' | 'text'
default:"default"
The visual style variant of the chip.
BaseSelectProps
Additional props to pass to the Select component for select/multiselect filters.
string
Additional CSS class for the chip.