Engram

Stat bar

atom

A labeled stat row: name, segmented bar, and value (Destiny stat block).

Install

npx shadcn@latest add @engram/stat-bar

Registry item: /r/stat-bar.json — the machine-readable definition agents install from.

Example

Impact
84
Range
46
Stability
55

Props

PropTypeDefaultDescription
stat*StatProps
maxnumberBar maximum; defaults to the stat's max, then 100.
colorstring"var(--engram-bar)"Fill color (any CSS color, e.g. a token var). Defaults to a light fill.
classNamestring

Composition

pulled in on install

Dependencies

npm
@engram/core

Own the code: shadcn add copies this component's source into your repo to read and edit directly. Extend without forking — edit the source, use asChild to swap the element, or pass the typed annotations prop for curated data.