SmoothKit
v1.0.0
DocsComponents

Smooth Counter

Animate numerical values with easing and precision. Perfect for dashboards and stats.

0
Active Users

Installation

npm install smoothkit

Usage

typescript

API Reference

PropertyTypeDefaultDescription
fromnumber0Starting value of the counter.
tonumber100Target value to animate to.
durationnumber1000Animation duration in milliseconds.
decimalsnumber0Number of decimal places to show.