Logo of UI Challenges
Sign in
Wireframe example for OTP Code Entry Screen
An example interpretation of the prompt
Icon of target

OTP Code Entry Screen

Icon of book open

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.

Icon of book open

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.

You can always choose to receive scheduled challenges. A unique design prompt will be sent to your email daily for the duration you select.

Get design challenge updates in your inbox

New prompts and challenge updates. It’s free.