Power badge
componentThe power/light readout: the angular power glyph + the value in gold, with an optional `cap`.
Install
npx shadcn@latest add @engram/power-badgeRegistry item: /r/power-badge.json — the machine-readable definition agents install from.
Example
1995/20102010487
Props
| Prop | Type | Default | Description |
|---|---|---|---|
power* | number | — | The power / light value. |
cap | number | — | The current power cap; when reached the badge reads as maxed (glows). |
color | string | "var(--engram-gold)" | Number color. Defaults to the gold power token. |
size | number | 18 | Pixel font size for the number. |
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.