Skip to content
Validated username, light
Light
Validated username, dark
Dark

Every state

  • Validated username, default, light
    Validated username, default, dark

    default

  • Validated username, focus, light
    Validated username, focus, dark

    focus

  • Validated username, checking, light
    Validated username, checking, dark

    checking

  • Validated username, valid, light
    Validated username, valid, dark

    valid

  • Validated username, taken, light
    Validated username, taken, dark

    taken

  • Validated username, suggestion-focus, light
    Validated username, suggestion-focus, dark

    suggestion-focus

  • Validated username, error, light
    Validated username, error, dark

    error

  • Validated username, disabled, light
    Validated username, disabled, dark

    disabled

Props

PropTypeDefaultWhat it does
idstring"username"Input id.
namestring"username"Form field name.
labelstring"Username"Visible label.
signstring"@"Fixed sign before the value.
placeholderstring"yourname"Placeholder inside the field.
hintstring"Letters, numbers, dots and underscores. You can change it later."Line under the field before anything is checked.
defaultValuestring–Starting value.
check(value: string) => Promise<{ available: boolean; suggestions?: string[] }>–Checks the value and returns free alternatives when taken; the default checks a short local list.
status"idle" | "checking" | "valid" | "taken" | "invalid"–Starting state, e.g. a value the server already checked.
suggestionsstring[]–Free alternatives to show with a starting taken status.
minLengthnumber3Shortest value allowed.
maxLengthnumber20Longest value allowed.
disabledboolean–Disables the field.
classNamestring–Extra classes on the outer Field.

More input groups

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