Skip to content
Pebble Pro is here at $49 one timeSee what’s included ↗
Pebble
ComponentsDocsMCPPricing
⌕ Find a component↗Log in
All components 673

Categories

Core inputs & forms46Buttons & actions33Navigation36Overlays & feedback49Data display33Charts & data viz40Cards & layout43Marketing blocks38App shells & pages37AI interfaces40Text & typography effects33Backgrounds & visual effects38Motion & transitions32Numbers & counters32Media34E-commerce333D & interactive36Themed sets40
Start with the essentials.Installation guide ↗Connect your agent ↗
← All componentsE-commerce

Quantity Stepper

WAI-ARIA spinbutton stepper with hold-to-repeat, per-digit rolling value, boundary shake, sizes and a remove-at-minimum trash state.

Preview

Your cart

6 items
  • Stoneware mugAsh · 350 ml
    2
    $36.00
  • Pour-over kettleMatte ink
    1
    $64.00
  • Single-origin beans250 g bag
    3
    $43.50
Subtotal$143.50
SmallDense lists
2
MediumDefault
12
LargeTouch, max 10
9
WeightStep 0.5 kg
1.5 kg
DisabledOut of stock
1

Install

Pro source requires Pebble Pro. Try the full preview above.

Props

PropTypeDefaultDescription
value / defaultValuenumberminControlled or initial value; pair value with onValueChange.
onValueChange(value: number) => void—Called with the clamped, snapped value.
min / maxnumber0 / 99Range; the matching key disables at each edge.
stepnumber1Arrow and button step; decimals snap to the step grid.
largeStepnumberstep × 10PageUp / PageDown step.
size"sm" | "md" | "lg""md"32, 36 or 44 px tall.
labelstring"Quantity"Accessible name of the group and spinbutton.
formatValue(value: number) => stringStringDisplay text and aria-valuetext; changed digits still roll.
onRemove() => void—At the minimum the minus key becomes a trash key; Delete also calls it.
removeLabelstring"Remove"Accessible name of the trash key.
disabledbooleanfalseDims the control and removes it from the tab order.

Pro component

Try the full preview above. Editable source and build guides require Pebble Pro.

Buy Pebble Pro — $49How source access works ↗
Pebble

Small details.
Better interfaces.

React components to explore, make your own, and build on.

Library

  • Components
  • Installation
  • Pricing

Resources

  • For agents
  • About
  • Support

Legal

  • License
  • Terms
  • Privacy
  • Final sale

Built by Pebble

A product of Praxys Solutions LLC ↗

Pebble Pro is live

$49 one time, lifetime updates ↗