L
LocalMode

Category Facet List · LocalMode

A domain-decoupled, filterable category facet (vertical list or horizontal pills) with per-category count badges, single-select toggle (re-click deselects), an All/clear affordance, and active highlight. Takes categories/counts/selected/onSelect so it serves useSemanticSearch result filtering, zero-shot classification labels, and NER entity-type filters alike.

npx shadcn@latest add https://localmode.ai/r/ui/data-documents/category-facet-list.json
Preview Category Facet List on LocalMode's site (opens in a new tab)
Loading the source for ui/data-documents/category-facet-list…

ui/data-documents/category-facet-list