Dev Design Library

Pricing Toggle

Each digit rolls to its new price on its own, and new digits grow in.

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

Categories

More from UI Lab