Dice
The dice rail and its numbers, from parts: a slider for the target with the losing and winning sides either side, a thumb you can restyle or swap, and the roll your server returns marked over it. Underneath, the multiplier, target and win chance priced from your RTP, as inputs that move the track as you type.
Roll over or under
Drag the target or type a multiplier, target or win chance, flip over and under, and roll. The odds come from the RTP you set: at 99%, 50.50 is the target that pays 2×. A stand-in for your server rolls and decides the outcome.
- Multiplier
- Roll Over
- Win Chance
Your own track
Recoloured with CSS variables, then rebuilt from its parts: gradient sides, a thicker bar, a round thumb with an icon in it and fewer ticks.
Settled rolls
Settled bets as a server would return them, marked in the winning or losing colour, over and under.
Roll over 50 at 2.00× · won
Roll over 50 at 2.00× · lost
Roll under 25 at 4.00× · won
pnpm dlx shadcn@latest add https://betui.fyi/r/dice.json