GitHub

Quantity Stepper

Increment/decrement controls for adjusting quantities with sizes, vertical layout, and compact variants.

Basic Quantity Stepper

Preview

Sizes

Preview

Vertical & Compact

Preview

Vertical

Compact

Compact Round

Colors, Glass & Disabled

Preview

Success

Error

Glass

Disabled

Classes Reference

Class Description
.quantity-stepperBase container (44px height, inline-flex)
.quantity-stepper-smSmall size (36px height, smaller buttons and input)
.quantity-stepper-lgLarge size (52px height, larger buttons and input)
.quantity-stepper-verticalVertical layout with plus on top, minus on bottom
.quantity-stepper-compactNarrower input field, no side borders on input
.quantity-stepper-roundFully rounded (pill shape)
.quantity-stepper.glassGlass morphism variant
.quantity-stepper.color-successGreen-colored buttons
.quantity-stepper.color-errorRed-colored buttons
.quantity-stepper-disabledDisables entire stepper (opacity + pointer-events)
.quantity-stepper-btnIncrement/decrement button
.quantity-stepper-btn-minusMinus button (used for ordering in vertical layout)
.quantity-stepper-btn-plusPlus button (used for ordering in vertical layout)
.quantity-stepper-btn-disabledDisabled state for individual button
.quantity-stepper-btn-pressingActive/pressing state for long-press feedback
.quantity-stepper-inputNumeric input field (centered, no spinners)