Skip to content
Budget range, light
Light
Budget range, dark
Dark

Every state

  • Budget range, default, light
    Budget range, default, dark

    default

  • Budget range, focus, light
    Budget range, focus, dark

    focus

  • Budget range, filled, light
    Budget range, filled, dark

    filled

  • Budget range, min-only, light
    Budget range, min-only, dark

    min-only

  • Budget range, error, light
    Budget range, error, dark

    error

  • Budget range, error-typed, light
    Budget range, error-typed, dark

    error-typed

  • Budget range, filled-gbp, light
    Budget range, filled-gbp, dark

    filled-gbp

  • Budget range, jpy, light
    Budget range, jpy, dark

    jpy

  • Budget range, disabled, light
    Budget range, disabled, dark

    disabled

Props

PropTypeDefaultWhat it does
idstring"budget"Id prefix for the two fields.
namestring"budget"Base form name: <name>-min and <name>-max carry the plain numbers.
legendstring"Budget"Legend of the pair.
descriptionstring–Help text under the pair.
minLabelstring"Minimum"Accessible name of the first field.
maxLabelstring"Maximum"Accessible name of the second field.
joinLabelstring"to"The word between the fields.
currencystring"EUR"Currency (ISO code); sets the symbol, its side and the decimals. JPY has none.
localestring"en-IE"Locale for Intl.NumberFormat.
defaultMinnumber–Starting minimum.
defaultMaxnumber–Starting maximum.
disabledboolean–Disables both fields.
errorstring–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.
classNamestring–Extra classes on the fieldset.

More amount inputs

All 6
amount-input-05 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