Skip to content
Design System
GitHub

A query people build from chips: + Filter picks a field, an operator and a value; each rule is a chip whose parts reopen that step. Rules combine with AND, live in the URL and filter rows in the browser.

API reference

Generated from the types. Every part also takes className.

Filters

fieldsrequired
FilterField[]
value
FilterRule[]
defaultValue
FilterRule[]
onValueChange
(rules: FilterRule[]) => void
labels
Partial<Omit<FilterLabels, "operators">> & { operators?: Partial<Record<FilterOperator, string>>; }
locale
stringFormats the options' counts (a BCP 47 tag such as "zh-TW"). Left out, the browser's language.