

Every state


default


focus


filled


min-only


error


error-typed


filled-gbp


jpy


disabled
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| id | string | "budget" | Id prefix for the two fields. |
| name | string | "budget" | Base form name: <name>-min and <name>-max carry the plain numbers. |
| legend | string | "Budget" | Legend of the pair. |
| description | string | – | Help text under the pair. |
| minLabel | string | "Minimum" | Accessible name of the first field. |
| maxLabel | string | "Maximum" | Accessible name of the second field. |
| joinLabel | string | "to" | The word between the fields. |
| currency | string | "EUR" | Currency (ISO code); sets the symbol, its side and the decimals. JPY has none. |
| locale | string | "en-IE" | Locale for Intl.NumberFormat. |
| defaultMin | number | – | Starting minimum. |
| defaultMax | number | – | Starting maximum. |
| disabled | boolean | – | Disables both fields. |
| error | string | – | An error from outside, shown until a value changes. |
| onChange | (value: { min: number | null; max: number | null }) => void | – | Called when a field is left and the pair is right; null is no limit. |
| className | string | – | Extra classes on the fieldset. |
More amount inputs
All 6amount-input-05 is in UI ProGet UI Pro, €199


