Pursuit card
componentA quest / bounty pursuit card (the in-game Quests list): a square pursuit icon, the title + step description, an optional reward, and a thin step-progress edge. `tracked` gives it the green pinned-quest highlight.
Install
npx shadcn@latest add @engram/pursuit-cardRegistry item: /r/pursuit-card.json — the machine-readable definition agents install from.
Example
Raising Our Defenses
Travel to Mars to speak to Ana about Rasputin.
Daily Heroic Story
Complete a Heroic story mission.
22h 14m remaining
XP
Props
| Prop | Type | Default | Description |
|---|---|---|---|
title* | ReactNode | — | — |
description | ReactNode | — | Quest/bounty step summary (truncates to two lines). |
icon | ImageRef | — | Pursuit icon (square, framed — the in-game quest/bounty icon). |
tracked | boolean | false | Pinned/tracked → green highlight border + a tracked marker. |
progress | number | — | Step progress 0–1 — the thin bar along the bottom edge. |
expiry | ReactNode | — | Time-left / expiry readout (bounties). |
reward | ReactNode | — | Right-aligned reward icon slot. |
Composition
pulled in on install- pursuit-cardcomponent
- 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.