KQ-304 · PRIZE/WHEEL

Prize Wheel

A segmented wheel whose last half-second is the whole experience: a wind-up counter-rotation, several turns, then a hard deceleration onto the segment with the pointer ticking slower as it goes. The blank segment lands flat on purpose — muted caption, no sparks — because a wheel that celebrates nothing is a wheel nobody reads.

KQ-304 · PRIZE/WHEEL
spins 0

Install

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

$ pnpm dlx shadcn@latest add @kinetiq/prize-wheel

Props

PropTypeDefaultDescription
segmentsSegment[]The wedges; wedge angles derive from the count. Outcomes cycle in fixed order.
onLand(label: string) => voidFires with the winning label.