Skip to content
Email with suggestion, light
Light
Email with suggestion, dark
Dark

Every state

  • Email with suggestion, default, light
    Email with suggestion, default, dark

    default

  • Email with suggestion, focus, light
    Email with suggestion, focus, dark

    focus

  • Email with suggestion, filled, light
    Email with suggestion, filled, dark

    filled

  • Email with suggestion, suggestion, light
    Email with suggestion, suggestion, dark

    suggestion

  • Email with suggestion, suggestion-focus, light
    Email with suggestion, suggestion-focus, dark

    suggestion-focus

  • Email with suggestion, error, light
    Email with suggestion, error, dark

    error

  • Email with suggestion, disabled, light
    Email with suggestion, disabled, dark

    disabled

Props

PropTypeDefaultWhat it does
idstring"email"Input id; the label, description, suggestion and error point at it.
namestring"email"Form field name.
labelstring"Email address"Visible label.
descriptionstring–Help text under the field.
placeholderstring"name@example.com"Placeholder inside the field.
defaultValuestring–Starting value.
suggest(email: string) => string | null–Returns a corrected address for a likely typo, or null; the default knows a few common misspellings.
suggestionstring–Starting suggestion, e.g. for a value the server already checked.
invalidMessagestring"Enter an email address like name@example.com."Shown on leaving the field when the value isn't shaped like an email.
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-06 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