Skip to content
Field with help, light
Light
Field with help, dark
Dark

Every state

  • Field with help, default, light
    Field with help, default, dark

    default

  • Field with help, focus, light
    Field with help, focus, dark

    focus

  • Field with help, help-focus, light
    Field with help, help-focus, dark

    help-focus

  • Field with help, help-open, light
    Field with help, help-open, dark

    help-open

  • Field with help, filled, light
    Field with help, filled, dark

    filled

  • Field with help, error, light
    Field with help, error, dark

    error

  • Field with help, disabled, light
    Field with help, disabled, dark

    disabled

Props

PropTypeDefaultWhat it does
idstring"vat-number"Input id.
namestring"vatNumber"Form field name.
labelstring"VAT number"Visible label.
descriptionstring–Help text under the field.
placeholderstring"e.g. NL123456789B01"Placeholder inside the field.
defaultValuestring–Starting value.
helpLabelstring"Where to find your VAT number"Accessible name of the info button.
helpTitlestring"Where to find it"First line of the popover.
helpTextstring–The explanation in the popover.
openboolean–Start with the help open (previews).
validate(value: string) => string | undefined–Checks the value on leaving the field; the default is a rough EU VAT shape check.
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-08 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