Rreact-raffle-picker

Playground

Twist the knobs.

Every prop, live. Copy the code when it looks right.

1

last →

playground.tsx
import { RafflePick } from 'react-raffle-picker'

export function Demo() {
  return (
    <RafflePick
      min={1}
      max={100}
      inertia
    >
      <RafflePick.Value animation="roll" />
      <RafflePick.Button startLabel="Spin" stopLabel="Stop" />
    </RafflePick>
  )
}