Currency bar
componentA row of account currencies/materials — the header strip showing Glimmer, Bright Dust, mats, etc. A thin wrapper that lays CostChips in a wrapping row; the consumer supplies the values from the profile's currency components.
Install
npx shadcn@latest add @engram/currency-barRegistry item: /r/currency-bar.json — the machine-readable definition agents install from.
Example
184,320
4,210
12
0
Props
| Prop | Type | Default | Description |
|---|---|---|---|
currencies* | CostProps[] | — | The currencies/materials to display (Glimmer, Legendary Shards, …). |
size | number | 16 | Icon size for each chip (px). |
Composition
pulled in on install- currency-barcomponent
- cost-chipatom
- bungie-imageatom
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.