KQ-038 · TRIAGE/DECK

Triage Deck

A decision stack you flick through — throw a card right to accept or left to reject, a velocity-projected release commits, and the next card rises from behind.

KQ-038 · TRIAGE/DECK
SPC-4471

Cobalt filament

0.4mm · 1200°C anneal

Incoming specimen

ACCEPTED 0 · REJECTED 0

Install

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

$ pnpm dlx shadcn@latest add @kinetiq/triage-deck

Props

PropTypeDefaultDescription
cards{ id: string; content: ReactNode }[]The queue; the top card is interactive, the rest peek behind.
onDecide(id, decision: "accept" | "reject") => voidFires when a card commits in either direction.
onEmpty() => voidFires when the last card is decided.
acceptLabel / rejectLabelstring / stringButton and affordance labels.