指南 / 表单输入

验证码输入

N 个独立格子输验证码,输满自动跳格、支持粘贴整串,登录/支付验证常用。

在线演示

实现提示词

标准

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.
设计规范条目
### 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/

规范包

从所选指南中导出实现规则和链接。

已选指南 0 / 20