Number field
Number fields allow users to enter a numeric value, with optional increment and decrement buttons.
| Property | Type | Values | Default | Required | Description |
|---|---|---|---|---|---|
| label | string | - | - | No | - |
| size | string | s, m, l, xl | m | No | - |
| labelPosition | string | top, side | top | No | - |
| hideLabel | boolean | - | false | No | - |
| state | string | default, hover, focus + hover, focus + not hover | default | No | - |
| isDisabled | boolean | - | false | No | - |
| isError | boolean | - | false | No | - |
| isRequired | boolean | - | false | No | - |
| necessityIndicator | string | text, icon | icon | No | - |
| hideStepper | boolean | - | false | No | If true, hides in-field increment and decrement buttons (stepper). |