Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA filter picker where each value cycles through include, exclude and off, so people can say with bug but not wontfix. Use this when a filter needs both what to keep and what to leave out.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Use it for labels, tags and statuses in issue trackers, mail and search, where excluding a value is as common as requiring one.
Do not use it when only inclusion makes sense. Use a faceted multi-select, which is simpler to read.
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 | Default | Description |
|---|---|---|---|
options | { value, label }[] | - | The values. |
value | { include: string[]; exclude: string[] } | - | The filter (controlled). |
defaultValue | { include, exclude } | empty | Initial filter. |
onValueChange | (value) => void | - | Runs on every change. |
title | string | Labels | Names the filter. |
, included or , excluded, and shows a + or − in the box.Labels filter: 2 included, 1 excluded.The pattern ships with a Testing Library test (include-exclude-filter-picker.test.tsx) that covers cycling through the states, the summary name, the two lists staying disjoint and clearing.