Form components
Number
Numeric input with prefix/suffix, decimal scale, and thousand separators.
Stores number | null.
Preview
Live
Options
| Prop | Type | Default | Description |
|---|---|---|---|
| min | number | — | Minimum allowed value (also a validator). |
| max | number | — | Maximum allowed value (also a validator). |
| decimalScale | number | — | Number of decimal places to display. |
| allowThousandSeparator | boolean | — | Group digits with separators (1,000). |
| prefix | string | — | Static text before the value (e.g. "$"). |
| suffix | string | — | Static text after the value (e.g. "%"). |
| placeholder | string | — | Placeholder text. |
Validators
required, min, max, and custom. The empty state is null, not 0.