2.0 alpha
These docs describe 2.0. Install it with @once-ui-system/core@alpha.
On 1.8.x? Read the 1.x docs
TrademarkTrademarkDocs
Ctrl k
Search docs...
Form Controls

NumberInput

Updated: September 14, 2026
View on GitHub
NumberInput is Input for numbers. It adds stepper controls and clamps what can be typed, so the value reaching onChange is already a number within range — no parsing, no NaN.
Prop
Type
Default
value
The current number. Controlled, like every other input here.
number
onChange
Receives the number itself, not a change event.
(value: number) => void
min
Lower bound. The decrement control stops here.
number
max
Upper bound. The increment control stops here.
number
step
How much each press moves the value.
number1
padStart
Pad to this many digits with leading zeros — 7 shown as 007.
number
…and every InputProps propinherited
Everything on Inputlabel, description, error, size, prefix, suffix — works here too.
Edit this page on GitHub
TrademarkTrademark
Built with curiosity by Lorant One and the Design Engineers Club