RollingNumber
RollingNumber displays a number and animates every digit that changes, rolling it to its new position. Use it for counters, live totals, prices and metric readouts where the change itself is part of the information.
Examples
(4)Properties
(38)Playground
Basic
A counter whose digits roll to their new positions. Only the columns that changed move.
Currency
prefix, suffix and the decimal options cover currency formatting without an external formatter. Copying the value on web yields the formatted string, not the digit strips.Timing
transitionDuration, timingFunction and stagger shape the roll. Stagger delays each column right-to-left, so the carries trail the ones place the way an odometer does.Live metric
A ticking metric tile. Values that change faster than the roll retarget mid-flight rather than snapping.
</>
react-ui-library
100+ accessible, themeable components that work seamlessly across iOS, Android, and Web.
A Platform Blocks product.
Quick Links
Resources