Animated number counter that smoothly counts from 0 to a target value. Perfect for landing page metrics, dashboards, and any place you want to add visual interest to numbers.
npm install @thomarket/stats-counterimport { StatsCounter } from '@thomarket/stats-counter';
// Basic counter
<StatsCounter value={10000} />
// With prefix and suffix
<StatsCounter value={2500000} prefix="$" suffix="+" />
// Custom duration and easing
<StatsCounter
value={100}
duration={3000}
easing="spring"
/>