Skip to content
Loan amount, light
Light
Loan amount, dark
Dark

Every state

  • Loan amount, default, light
    Loan amount, default, dark

    default

  • Loan amount, focus, light
    Loan amount, focus, dark

    focus

  • Loan amount, focus-slider, light
    Loan amount, focus-slider, dark

    focus-slider

  • Loan amount, filled, light
    Loan amount, filled, dark

    filled

  • Loan amount, typed, light
    Loan amount, typed, dark

    typed

  • Loan amount, filled-gbp, light
    Loan amount, filled-gbp, dark

    filled-gbp

  • Loan amount, jpy, light
    Loan amount, jpy, dark

    jpy

  • Loan amount, error, light
    Loan amount, error, dark

    error

  • Loan amount, disabled, light
    Loan amount, disabled, dark

    disabled

Props

PropTypeDefaultWhat it does
idstring"loan-amount"Input id; the label names the field and the slider.
namestring"loanAmount"Form name; a hidden input carries the plain number.
labelstring"How much do you want to borrow?"Visible label.
currencystring"EUR"Currency (ISO code); sets the symbol, its side and the decimals. JPY has none.
localestring"en-IE"Locale for Intl.NumberFormat.
minnumber1000Smallest amount.
maxnumber50000Largest amount.
stepnumber500The slider's step; the field takes any whole amount in the bounds.
defaultValuenumber12000Starting amount.
monthsnumber48Term 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.
estimateLabelstring"Estimated repayment"Heading of the estimate.
estimateNotestring–Small print under the estimate.
disabledboolean–Disables the field and the slider.
onValueChange(value: number) => void–The amount as it changes.
classNamestring–Extra classes on the wrapper.

More amount inputs

All 6
amount-input-03 is in UI ProGet UI Pro, €199

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans