Dev Design Library

Stat Counter

Numbers count up to their value; scrub a sparkline and the figure rolls back through its history.

Stat Counter preview
Library
UI Lab
Framework
React
Type
component
License
MIT
Install
npx shadcn@latest add https://lab.xevrion.dev/r/stat-counter.json
Files
  • src/lab/components/stat-counter.tsx
  • src/lib/use-reduced-motion.ts
  • src/lib/cn.ts
Source
https://github.com/xevrion/ui-lab

Categories

More from UI Lab