Skip to components
DEVELOPER REFERENCE · v4.0.0

NumberStepper API

Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.

NumberStepper9 props1 callbacks0 methods

Props9

NumberStepper props
NameTypeDescription
valueRequirednumberValue to display or edit. The declared type identifies the supported representation; change callbacks describe how edited values are emitted.
minOptionalnumber | undefinedMinimum permitted value or lower bound for the control.
maxOptionalnumber | undefinedMaximum permitted value or upper bound for the control.
stepOptionalnumber | undefinedIncrement used for value changes. Use a value compatible with the control type.
labelRequiredstringLabel content or accessible name for the component, as rendered by this control.
decreaseLabelRequiredstringAccessible text for decreasing the numeric value.
increaseLabelRequiredstringAccessible text for increasing the numeric value.
disabledOptionalboolean | undefinedDisables user interaction with the control.
readOnlyOptionalboolean | undefinedDisplays the current value while preventing user edits.

Events and callbacks1

NumberStepper events and callbacks
NameTypeDescription
onChangeRequired
(value: number) => voidInspect type
Receives the new value when the user changes the control. Update the corresponding value prop for controlled use.

Methods0

No component-specific imperative methods. Use props and callbacks to control this component.