Components · Form & Input
A numeric input with increment and decrement controls, supporting min/max clamping and step.
import { Number Input } from '@nexub/react';| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
| value | number | — | — | Controlled value of the input. |
| min | number | — | — | Minimum allowed value. |
| max | number | — | — | Maximum allowed value. |
| step | number | 1 | — | Amount to increment or decrement on each step. |
| disabled | boolean | — | — | Disables the input and its controls. |
| size | 'sm' | 'md' | 'lg' | — | — | Controls font size and padding. |