OTP Input
OTP: N independent boxes for entering a verification code, auto-advancing on fill and supporting paste of the full string—common for login/payment verification.
Live demo
Implementation prompts
6-box OTP input for SMS codes: auto-advances while typing, auto-submits when full, supports paste.OTP input with caret auto-advance animation, digit pop-in per box, shake on error; auto-submits when full.Design spec entry
### OTP Input (#otp) Category: Forms OTP: N independent boxes for entering a verification code, auto-advancing on fill and supporting paste of the full string—common for login/payment verification. - Do: 6-box OTP input for SMS codes: auto-advances while typing, auto-submits when full, supports paste With motion: OTP input with caret auto-advance animation, digit pop-in per box, shake on error; auto-submits when full. Live demo: https://uidesignmd.com/guides/otp/