KB-114 · FORECAST/CARD

Forecast Card

Every vote moves every bar — one commit renormalizes the whole field while percentages carry-roll and the leader tick migrates to the new front-runner.

KB-114 · FORECAST/CARD

Next specimen to build?

3636votesCloses JAN 15 2027

Install

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

$ pnpm dlx shadcn@latest add @kinetiq/forecast-card

Props

PropTypeDefaultDescription
question / optionsstring / ForecastOption[]2–4 outcomes as { id, label, votes }; options are always the source of counts.
votedId / defaultVotedId / onVotestring | null / string / (id) => voidControlled or uncontrolled viewer vote.
allowRevotebooleanfalseLet the viewer move their vote between outcomes.
closesAtstring | DateCompact mono CLOSES footer line.