NumberInput
The
NumberInput component is a numeric text input field that provides built-in step controls for incrementing and decrementing the value. It supports custom formatting and parsing functions, allowing you to display numbers in various formats (e.g., currency, percentages) while maintaining a numeric value internally.Examples
(4)Properties
(104)Playground
Basic
Controlled number input with simple step controls and live value preview.
Formats
Showcases currency formatting, percentage suffixes, and a derived total.
Side buttons
Side button controls with shift multipliers for both fine and coarse adjustments.
Drag gesture
Press-and-drag interactions for horizontal and vertical number adjustments.
Scan to open this page on your phonereact-ui-library.com/components/NumberInput
</>
react-ui-library
100+ accessible, themeable components that work seamlessly across iOS, Android, and Web.
A Platform Blocks product.
Quick Links
Resources