Dev Design Library

Entity Stats Bar

A horizontal stats bar showing the total detected-entity count plus per-type breakdown badges (PER / LOC / ORG / MISC — colored dot + count + label), computing counts internally from a DetectedEntity[] (or a pre-computed counts map) against.

Entity Stats Bar preview
Library
LocalMode
Framework
React
Type
component
License
MIT
Install
npx shadcn add @localmode/ui/ui/results/entity-stats-bar
Files
  • apps/ui/registry/localmode/results/entity-stats-bar/entity-stats-bar.tsx
  • apps/ui/src/lib/utils.ts
Source
https://github.com/LocalMode-AI/LocalMode

Categories

More from LocalMode