Skip to content
Requirements list, light
Light
Requirements list, dark
Dark

Every state

  • Requirements list, default, light
    Requirements list, default, dark

    default

  • Requirements list, focus, light
    Requirements list, focus, dark

    focus

  • Requirements list, partial, light
    Requirements list, partial, dark

    partial

  • Requirements list, all-met, light
    Requirements list, all-met, dark

    all-met

  • Requirements list, revealed, light
    Requirements list, revealed, dark

    revealed

  • Requirements list, error, light
    Requirements list, error, dark

    error

  • Requirements list, disabled, light
    Requirements list, disabled, dark

    disabled

Props

PropTypeDefaultWhat it does
idstring"create-password"Input id; the label, list and error point at it.
namestring"password"Form field name.
labelstring"Create a password"Visible label.
rulesTitlestring"Your password needs"Heading over the list.
rules{ id: string; label: string; test: (password: string) => boolean }[]length 10, lower and capital, number, symbolThe rules, each with its own test; met and not met are read out with each rule.
defaultValuestring–Starting value.
revealedboolean–Start with the password shown.
errorstring–After a failed submit: shows this message and turns unmet rules red.
requiredboolean–Marks the field required.
disabledboolean–Disables the field and the button.
classNamestring–Extra classes on the outer Field.

More password fields

All 4
password-02 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