Skip to content
Number with unit, light
Light
Number with unit, dark
Dark

Every state

  • Number with unit, default, light
    Number with unit, default, dark

    default

  • Number with unit, focus, light
    Number with unit, focus, dark

    focus

  • Number with unit, filled, light
    Number with unit, filled, dark

    filled

  • Number with unit, pounds, light
    Number with unit, pounds, dark

    pounds

  • Number with unit, unit-focus, light
    Number with unit, unit-focus, dark

    unit-focus

  • Number with unit, error, light
    Number with unit, error, dark

    error

  • Number with unit, disabled, light
    Number with unit, disabled, dark

    disabled

Props

PropTypeDefaultWhat it does
idstring"parcel-weight"Input id.
namestring"weight"Form field name of the number.
unitNamestring"weightUnit"Form field name of the unit select.
labelstring"Parcel weight"Visible label.
descriptionstring–Help text under the field.
placeholderstring"e.g. 2.5"Placeholder inside the field.
defaultValuestring–Starting number.
defaultUnit"kg" | "lb""kg"Starting unit; switching converts the number, rounded to one decimal.
minnumber0.1Lowest allowed weight, in kg.
maxnumber30Highest allowed weight, in kg.
requiredboolean–Marks the field required (asterisk and the required attribute).
errorstring–Error message; makes the field invalid and links the message to it.
disabledboolean–Disables the field.
classNamestring–Extra classes on the outer Field.

More input groups

All 14
input-group-13 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