KQ-303 · LOOT/CHEST

Loot Chest

A chest that spends longer on the anticipation than the payoff: it shudders three times with rising amplitude, the clasp pops, light leaks from the seam, and only then does the lid swing and the beam erupt. The card that rises carries a rarity, and the reaction scales with it — legendary earns the sweep, common earns a settle and nothing more.

KQ-303 · LOOT/CHEST
0 openedbest:

Install

One command — the source lands in your repo. Or copy it from the Code tab.

$ pnpm dlx shadcn@latest add @kinetiq/loot-chest

Props

PropTypeDefaultDescription
raritiesRarity[]The tier table — name, tint, pip count. Cycled in fixed order, never rolled.
onOpen(rarity: string) => voidFires with the revealed tier.