

Every state


default


focus


focus-slider


filled


typed


filled-gbp


jpy


error


disabled
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| id | string | "loan-amount" | Input id; the label names the field and the slider. |
| name | string | "loanAmount" | Form name; a hidden input carries the plain number. |
| label | string | "How much do you want to borrow?" | Visible label. |
| 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. |
| min | number | 1000 | Smallest amount. |
| max | number | 50000 | Largest amount. |
| step | number | 500 | The slider's step; the field takes any whole amount in the bounds. |
| defaultValue | number | 12000 | Starting amount. |
| months | number | 48 | Term the estimate is worked out over. |
| estimate | (amount: number, months: number) => number | – | Monthly repayment for an amount; the default is an annuity at 6.9% a year. |
| estimateLabel | string | "Estimated repayment" | Heading of the estimate. |
| estimateNote | string | – | Small print under the estimate. |
| disabled | boolean | – | Disables the field and the slider. |
| onValueChange | (value: number) => void | – | The amount as it changes. |
| className | string | – | Extra classes on the wrapper. |
More amount inputs
All 6amount-input-03 is in UI ProGet UI Pro, €199


