Password Checklist

Demo playground

Length bounds

Set minimum and maximum password lengths. The component will show appropriate rules.

  • At least 8 characters — fails
  • No more than 20 characters — passes

Snippet

Copy the example to your clipboard.

<PasswordChecklist
  value={password}
  minLength={8}
  maxLength={20}
/>