Interactive Playground
Every prop, wired live. Adjust boundaries, adornments, and stepper behavior and watch the code snippet update in real time.
Controls & Boundaries
The component enforces strict validation. If a user types a number outside the min and max bounds, it will auto-correct on blur.
Prefixes & Suffixes
Ideal for financial rate matrices or capacity quotas. Use prefix for currencies and suffix for measurements.
Validation & States
Identical to BaseInputText, the error prop transforms the input and maps over arrays to display multiple validation requirements.
Input Sizing
The integrated spinners and text sizes scale perfectly across all four layout constraints.
Stepper Icons & Orientation
Use orientation to flank the field with a horizontal +/- stepper instead of the default stacked spinners, and override incrementIcon / decrementIcon to swap in any lucide: icon for either button.