A component that animates number changes with smooth transitions.
npx shadcn@latest add @motion-primitives/animated-number
animated-number