Dev Design Library

Odometer

Rolls forward like a mechanical counter and wraps from 999 back to 000.

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

Categories

More from UI Lab