Number Input
Numeric input with +/- stepper buttons. Min/Max/Step constraints, prefix/suffix slots, ArrowUp/Down keyboard nav. Value is decimal — works for currency, quantity, dosage.
Basic — quantity
Min / Max constraints
The simplest case: a positive integer with stepper buttons.
Value: 1
Currency — prefix slot
Decimal step + Prefix
Pass Step="0.01m" for cent-precision and a Prefix string to render "$" inside the field.
$
Value: $19.99
Dosage — suffix slot
Fractional Step + Suffix unit
Step="0.5m" for half-unit precision; Suffix renders "mg" on the right edge.
mg
Adjust in 0.5 mg increments.
Sizes
xs / sm / md / lg