Verification code input
A field split into separate cells, one for each character of a one-time code.
Also called: otp, otp input, one time password, one-time code, verification code, confirmation code, sms code, text message code, code input, pin, pin code, pin input
What it is for
It makes the code easier to read as you type it. Focus jumps to the next cell automatically, and pasting a code from the clipboard works. The code is often checked automatically as soon as the last digit is entered.
Where you see it
- Logging in — confirming a phone number or email
- Security — entering a code from an authenticator app (2FA)
- Banking — confirming transactions
What it is called in code
autocomplete="one-time-code"OTP inputPIN input
See also
- Text input — A field where a person types something in: letters, numbers, symbols.
- Stepper — A progress indicator that breaks a long process, like filling in a long form, into a sequence of steps.
- Toast (notification) — A small message that pops up briefly at the bottom or in a corner of the screen and disappears on its own.