InputNumber

A field for a number, like a price, a count or a percentage, with a range, a precision and stepper buttons.

Anotomy

Structure of the number input and how its internal parts are composed, in both modes. These are its semantic parts, so they are also what the classNames and styles objects accept.
InputNumber anotomy
NameDescription
1rootThe field's box: border, background, radius and padding. variant, size and status change it here.
2prefixThe node from prefix, before the number. Usually an icon or a currency sign.
3inputThe real <input>, which takes the free width.
4suffixThe node from suffix, after the number.
5actionsThe column holding the up and down buttons. It only exists in mode="input", and controls={false} removes it.
6actionOne step button: up or down in the default mode, minus or plus in mode="spinner". Each press moves the value by step.