Skip to content

InputNumber ​

Demo ​

Purchase seatsUp to 5 seats per order
Subtotal ¥78
Varo Pro seat$39 / seat

InputNumber defaults to a compact 128px minimum width so it does not squeeze adjacent content in horizontal rows. Set width explicitly through class or the parent layout when a full-width control is required.

Decimal ​

Use step for increments and precision for decimal formatting.

Props ​

PropTypeDefaultDescription
decreaseAriaLabelstring'Decrease value'Accessible name for the decrement button
increaseAriaLabelstring'Increase value'Accessible name for the increment button
inputAriaLabelstring'Numeric value'Accessible name for the numeric input
valuenumber0Current value
minnumber-InfinityMinimum value
maxnumberInfinityMaximum value
stepnumber1Step value
precisionnumberundefinedDecimal precision
disabledbooleanfalseDisable component
readonlybooleanfalseReadonly state

Events ​

EventPayloadDescription
update:valuenumberValue changed
changenumberValue changed
focusFocusEventInput focused
blurFocusEventInput blurred