Skip to content
Clearable, light
Light
Clearable, dark
Dark

Every state

  • Clearable, default, light
    Clearable, default, dark

    default

  • Clearable, focus, light
    Clearable, focus, dark

    focus

  • Clearable, filled, light
    Clearable, filled, dark

    filled

  • Clearable, clear-focus, light
    Clearable, clear-focus, dark

    clear-focus

  • Clearable, error, light
    Clearable, error, dark

    error

  • Clearable, disabled, light
    Clearable, disabled, dark

    disabled

Props

PropTypeDefaultWhat it does
idstring"company"Input id; label, description and error point at it.
namestring"company"Form field name.
labelstring"Company name"Visible label; the clear button reads "Clear <label>".
descriptionstring–Help text under the field.
placeholderstring–Placeholder inside the field.
defaultValuestring–Starting value.
onValueChange(value: string) => void–Called on every change, and with an empty string when cleared.
requiredboolean–Sets the required attribute.
disabledboolean–Disables the field and hides the clear button.
errorstring–Error message; makes the field invalid and links the message to it.
classNamestring–Extra classes on the outer Field.

More input groups

All 14

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans