Three reels that are real cylinders. They roll to a random symbol one after another, and you get a callback with the result.
Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.
| Prop | Type | Default | Description |
|---|---|---|---|
| symbols | string[] | DEFAULT | Symbols that appear on each reel. |
| reels | number | 3 | Number of reels. |
| itemHeight | number | 64 | Height of one symbol in px. |
| onResult | (result: string[], won: boolean) => void | Called after a spin with the final symbols and whether all of them match. | |
| className | string | Extra classes added to the outer element. |