Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProFilter rules as rows of field, operator and value, where the operators and the value input change with the field type (text, number, date, choice) and the join (all or any) is a switch. Use this when people build filters without writing a query.
This item has no props to tune. Use the lens above to change theme, density, direction and more.
Segments, automations and saved views let people combine conditions on typed fields.
Do not use it when: For two or three simple filters use filter chips or dropdowns. This is for open-ended rule lists.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Description |
|---|---|---|
fields | { id, label, type, options? }[] | The fields people can filter on. Types: text, number, date, choice. |
onChange | ({ join, conditions }) => void | After every change. |
describeConditions(conditions, join, fields?) is exported.
The pattern ships with a Testing Library test (query-conditions-builder.test.tsx) that covers: its main behaviour, the keyboard path and the error or empty states.