Password Checklist

Demo playground

Confirm password

Use the match rule to ensure two passwords are identical. Pass the confirm value as valueAgain.

  • Passwords match — fails

Snippet

Copy the example to your clipboard.

<PasswordChecklist
  value={password}
  valueAgain={confirmPassword}
  rules={["match"]}
/>