Dev Design Library

Quantity Stepper

An animated quantity input for carts and forms with rolling digits, hold-to-repeat acceleration, and a boundary shake.

Quantity Stepper preview
Library
Spectrum UI
Framework
React
Type
component
License
Apache-2.0
Dependencies
framer-motion, lucide-react
Install
npx shadcn@latest add @spectrumui/quantity-stepper
Files
  • app/registry/quantity-stepper/quantity-stepper.tsx
  • lib/utils.ts
Source
https://github.com/arihantcodes/spectrum-ui

Categories

More from Spectrum UI