Skip to content
BENIBIX Learn

Number Stepper

Design🖼️ User InterfaceForm Controls

Also known as Stepper Input, Quantity Stepper, Spin Button

A number with minus and plus buttons. Each press adds or takes one.

Think of it like

It is like counting on your fingers. One more, one less.

Example

Jack orders shoes and taps plus twice. The quantity goes from 1 to 3.

Why it matters

Small counts change in one or two taps, with no keyboard needed.

Definition

A number stepper is a small number box with a minus and a plus button on its sides. Each press moves the number up or down by one. It suits small counts that change a little, like the quantity in a cart or the number of guests. People can usually type the number too.

Example code

html
<label for="qty">Quantity</label>
<input id="qty" type="number" min="1" max="10" value="1">
min and max stop the number from going below 1 or above 10.

Try it

Tickets

The number is exact, and it is readable without a drag.

Two taps to three. The same on a slider is a drag you have to look at.

Common mistake

Using a stepper for big numbers, like a price. Fifty presses is worse than typing.

Key takeaways

  1. 1
    Minus and plus. One step per press.
  2. 2
    For small counts. Quantity, guests.
  3. 3
    Typing still works. For bigger jumps.

Learn it properly