
OTP Code Entry Screen
Design a mobile OTP entry screen for a numeric one-time password flow. The layout uses separate boxes for each digit, with the code entered one digit at a time.
The screen lives in a verification step, so the user should immediately understand where the code goes, how many digits are needed, and what happens as they type. Keep the focus on the code field and the keypad.
The on-screen numeric keyboard is part of the experience, not an afterthought. It should feel native to mobile input, with clear digit keys and a simple way to correct mistakes.
Make the input state easy to read while the code is incomplete: active box, filled boxes, and any masked or visible digit treatment should all be obvious without extra explanation.
Design the digit boxes so the caret/focus state and the filled state are distinct even when the keyboard is open and the user is entering quickly.
Better at UI design with every challenge
Select complexity and generate challenge.
Pick a platform.
Get design challenge updates in your inbox
New prompts and challenge updates. It’s free.