
Pin Input captures short codes split across multiple one-character cells: OTP, MFA, SMS or email verification codes, invite codes, passcodes, payment verification, and secure access codes.
It manages focus between cells, code length, disabled state, placeholders, and allowed symbols.
Do not use Pin Input for phone numbers, passwords, numeric settings, long codes, serial numbers, coupons, or arbitrary text. Use PhoneInput, PasswordStrength with ngsInput, NumberInput, or plain ngsInput instead.
Key features:
- Configurable number of input cells.
- Optional placeholder per cell.
- Allowed-symbol filtering through acceptOnly.
- Angular forms integration.
- Automatic focus movement between cells.