InputNumber
Enter numeric values such as quantities or prices.
Basic usage
Live previewBasic usage
Current quantity: 3
basic.tsx
InputNumber API
Types
Import the component props and item types when preparing your own values.
Usage notes
Partial minus signs and decimal points are preserved during typing. Blur or Enter normalizes the range and precision; stepping avoids common decimal accumulation errors. Use name for FormData submission. required, form and autoComplete reach the input, and form reset is supported. className and style apply to the wrapper.