About
A minus/plus quantity stepper whose digits roll individually on change, supporting hold-to-repeat and a shake animation at the min/max limits.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Number Stepper to your project and fits it to your theme.
Code
How Number Stepper is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { NumberStepper } from "@/components/ui/number-stepper";
export default function NumberStepperDemo() {
return (
<div className="flex min-h-[300px] w-full items-center justify-center">
<NumberStepper defaultValue={1} min={0} max={10} aria-label="Quantity" />
</div>
);
}
















