Slot counter
Slot-machine reels that spin several turns with motion blur and stop left to right on the target number, with a jackpot highlight.
Preview
Lucky draw
Pull 1Result: 427
Pull the lever
Raffle ticket
Draw 1Winning ticket: 40218
Install
Pro source requires Pebble Pro. Try the full preview above.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| value | number | — | The number the reels land on; changing it spins them. |
| label | string | — | Name used in the announced result. |
| minDigits | number | 1 | Pad with leading zeros to at least this many reels. |
| cycles | number | 3 | Full turns each reel makes before landing. |
| duration | number | 1.1 | Seconds the first reel spins. |
| stagger | number | 0.28 | Extra seconds per reel so they stop left to right. |
| jackpot | boolean | false | Highlight a winning result once the reels stop. |
| spinKey | number | 0 | Bump to spin again to the same value. |
| onSettled | (value: number) => void | — | Called when the last reel stops. |
| size | "md" | "lg" | "md" | Reel size. |
Pro component
Try the full preview above. Editable source and build guides require Pebble Pro.
