Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA checkbox tree of categories with product counts that add up through the tree and a button that says how many products match. Use this when shoppers narrow a catalogue by nested categories.
This item has no props to tune. Use the lens above to change theme, density, direction and more.
Use it for shop sidebars and catalogue filters where categories nest and shoppers want to know the result size before they apply.
Do not use it when filters are not hierarchical (use plain checkboxes) or when counts are expensive and cannot be loaded up front.
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 |
|---|---|---|---|
categories | TreeNode<Facet>[] | - | Categories with data.count on the leaves. |
value / defaultValue / onValueChange | string[] | [] | Ticked leaf ids. |
onApply | (ids) => void | - | The show button was pressed. |
aria-checked, with mixed for partly ticked parents.The pattern ships with a Testing Library test (product-category-filter.test.tsx) that covers the roll-up counts, the result button, applying and an empty selection.