Beta

Sliding Number

A numeric display component that smoothly animates number changes with a sliding transition effect.

Installation

Examples

With decimal

Props

PropTypeDefault
className?
string
-
number
number
-
startOnView?
boolean
false
padStart?
boolean
false
decimalSeparator?
string
.
transition?
SpringOptions
{ stiffness: 200, damping: 20, mass: 0.4 }

Credits

On this page