Figma Input OTP
Figma Input OTP
Preview
Figma Input OTP
Figma OTP Component
The OTP Input component supports copy-paste and allows users to quickly enter a one-time password code that applications send for user verification and login scenarios.
When implementing OTP component, be sure to automatically move the user's focus to the next input field after each digit entry.
Input OTP Anatomy
| Set | Variants | Properties |
|---|---|---|
| InputOTP | 18 | Size Large, Medium, SmallDigits x8, x6, x4Split False, True |
InputOTP is one set of eighteen variants — 4, 6 or 8 digit slots at Small 36, Medium 44 and Large 56px, with a Split option that groups the digits in halves — built from an OTPSlot with Default and Focused states.
Input OTP AI Prompt
Paste this into Claude, ChatGPT, or Figma Make:
Build a one-time-password input in Figma as two sets. OTPSlot: a single square digit box in Small 36, Medium 44 and Large 56px with Default — a grey border and an empty or filled digit — and Focused — an accent border with a blinking caret. InputOTP: a row of 4, 6 or 8 OTPSlot instances with a Split Boolean that inserts a dash and a wider gap between the halves, in the same three sizes. Add Booleans for a label above, a helper line below reading Enter the code we sent, and an Error state that turns every slot border red with a message. Build a Filled variant showing all digits entered and a Masked variant showing dots for sensitive codes. Wire the prototype so clicking the first slot sets it Focused and typing advances focus to the next slot, with a Resend code link and a countdown timer under the row. Keep digit text on tabular figures, centred, and bind colours to variables.
Figma Input OTP
OTP
input otp example
otp component
figma otp
Interactive component
Premium Figma UI Kit & design resources
Explore high-quality Figma components, templates, and UI elements.











