Rolling counter

A rolling counter for React, an odometer style number input between a minus and a plus. The digits roll and carry column by column. Tap, hold to speed up, or drag the number and fling it. Made for quantity pickers, carts and settings that need a number.

Rolling counter, at rest

Drag · free, with full source

Rolling counter props

NameTypeDefaultDescription
bouncenumber45How lively a digit lands. From 0 to 100.
staggernumber45msThe wait between one column and the next. From 0 to 120ms.
cornernumber16pxCorner. From 0 to 28px.

Free under MIT. Licence

More blocks

More drag blocks