Repeat & sequential
Detect repeated characters (aaaa) and sequential patterns (abcd, 1234).
- No character repeated more than 2 times in a row — passes
- No sequential characters longer than 3 (e.g. abcd, 1234) — passes
Snippet
Copy the example to your clipboard.
<PasswordChecklist
value={password}
maxRepeatedChars={2}
maxSequentialChars={3}
rules={["noRepeat", "noSequential"]}
/>