Components/Quantity Stepper

Quantity StepperNew

Minus, value and plus control with min, max and step, controlled or uncontrolled, with optional press-and-hold repeat.

Controlled · 1–10
2
value = 2
Small · step 5
10
Disabled
3

Installation

$npx shadcn@latest add @opendraft/quantity-stepper

Needs the @opendraft registry in your components.json. See Installation.

Dependencies

Source

The files the install command adds to your project. They're yours to edit.