Numeric Stepper
NumericStepper edits a bounded integer with typed entry and +/- steppers — cart quantities, retry limits, and discrete counters.
Bind an i32 signal, clamp with min/max, and set step to match allowed increments. For approximate values along a range, prefer Slider.
- Quantity selectors in forms and carts
- Integer settings with clear increment steps
- Compact numeric fields where +/- buttons aid precision
- Bind an
i32signal viaNumericStepperBind. - Set min, max, step, and size in
NumericStepperAppearance. - Wrap in Field when the control needs a label or validation.
Default
Basic counter with +/- controls.
Bounded range
Clamp values between min and max.
Step
Increase and decrease by custom increments.
Disabled
Prevent direct typing and button interaction.
Small
Compact control for dense layouts.