Luck Wheel
Five spin looks - classic gold casino, neon glow, flat minimal, carnival ticket, or arcade bezel. Same Slow / Normal / Fast math in every look.
Casino spin
Sixteen slices - multipliers, Jackpot, Mega, and Empty. Gold rim, center Spin, then copy the code.
Loading…
Neon
Cyan / magenta rim glow on a dark card. Fewer slices, louder lights - same spin rules.
Loading…
Minimal
White card, gray slices, no spark chrome - quiet spin for calmer brands.
Loading…
Ticket
Cream carnival stub with dashed border and side notches around the wheel.
Loading…
Arcade
Chunky amber / violet bezel, dense bright segments, loud win chrome.
Loading…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| look | "classic" · "neon" · "minimal" · "ticket" · "arcade" | "classic" | Chrome / palette only - spin math stays the same. |
| segments | LuckWheelSegment[] | look defaults | Wheel slices: `label`, optional `offer` / `code`, `color`, `empty`. |
| defaultSpeed | "slow" · "normal" · "fast" | "normal" | Initial spin speed preset. |
| pickIndex | (segments) => number | - | Optional weighted picker; defaults to uniform random. |
| onResult | (segment, index) => void | - | Fires when the wheel stops. |
| delayMs | number | 360 | Auto-open delay when `defaultOpen` is true. |
| position | "fixed" · "absolute" | "fixed" | `absolute` for framed demos; `fixed` for live sites. |