Prize wheel

Pro

A spin wheel that slows under friction with its start speed solved to land on a weighted or server-chosen prize, a flapper that flicks on every peg, hand throws, confetti and a win callback.

A recording of the component itself. With Pro you get its full source and it runs in your app.

What you get

  • Exact landing: the physics is solved before the spin
  • Hand throws keep your direction and speed
  • Weighted odds or a server-chosen winner
  • Peg-driven flapper, rim lights and confetti
  • One TypeScript file in your project, yours to edit. No runtime package.
  • Keyboard, screen reader and reduced motion support; light and dark; your shadcn theme.

Install

npx shadcn@latest add @goodui-pro/prize-wheel

Needs a Pro license key in your registry config: two-minute setup. The file lands in components/goodui/prize-wheel.tsx.

More Pro components

Notification center

A lock-screen notification stack: cards pile up per app, fan out with a staggered spring, swipe away or uncover actions, new ones drop in on top and clear all sweeps them off.

Pro

Live cursors

Multiplayer presence for any surface: named cursors glide on spline paths rebuilt from sparse updates, with chat bubbles, reaction bursts, selection boxes, an avatar stack and a follow camera.

Pro

Pull to refresh

A scroll area you pull past its top on a rubber band: a pill hangs on an elastic tether and draws its ring with the distance, the tether snaps at the line, and it spins until onRefresh resolves, then shows a check.

Pro