Dev Design Library

Category Facet List

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/onS.

Category Facet List preview
Library
LocalMode
Framework
React
Type
component
License
MIT
Dependencies
lucide-react
Install
npx shadcn add @localmode/ui/ui/data-documents/category-facet-list
Files
  • apps/ui/registry/localmode/data-documents/category-facet-list/category-facet-list.tsx
  • apps/ui/src/lib/utils.ts
Source
https://github.com/LocalMode-AI/LocalMode

Categories

More from LocalMode