Skip to content
Reveal toggle, light
Light
Reveal toggle, dark
Dark

Every state

  • Reveal toggle, default, light
    Reveal toggle, default, dark

    default

  • Reveal toggle, focus, light
    Reveal toggle, focus, dark

    focus

  • Reveal toggle, filled, light
    Reveal toggle, filled, dark

    filled

  • Reveal toggle, revealed, light
    Reveal toggle, revealed, dark

    revealed

  • Reveal toggle, toggle-focus, light
    Reveal toggle, toggle-focus, dark

    toggle-focus

  • Reveal toggle, caps-lock, light
    Reveal toggle, caps-lock, dark

    caps-lock

  • Reveal toggle, error, light
    Reveal toggle, error, dark

    error

  • Reveal toggle, disabled, light
    Reveal toggle, disabled, dark

    disabled

Props

PropTypeDefaultWhat it does
idstring"password"Input id; the label, hint and messages point at it.
namestring"password"Form field name.
labelstring"Password"Visible label.
descriptionstring"At least 8 characters."Help text under the field.
autoComplete"current-password" | "new-password""current-password"Autofill token: current-password to sign in, new-password to sign up.
placeholderstring–Placeholder inside the field.
defaultValuestring–Starting value.
revealedboolean–Start with the password shown.
capsLockboolean–Start with the Caps Lock warning shown; after that the keyboard decides.
requiredboolean–Marks the field required.
disabledboolean–Disables the field and the button.
errorstring–Error message; makes the field invalid and links the message to it.
classNamestring–Extra classes on the outer Field.

More password fields

All 4

Preview

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

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