Plugin details
Professional OTP (One-Time Password) input component with customizable segment input fields. Features keyboard navigation, paste support, and password mode for secure authentication flows.
Demo page (with link to editor)
Plugin page
Real-World Use Cases Highlighted
- SMS verification codes (most common)
- Two-factor authentication (2FA)
- Password reset confirmation
- Login verification
- Account security
- Payment confirmation
- User onboarding
Instructions
- Drag the Input OTP element onto your page
- Configure the Length (number of segments, default: 4)
- Customize appearance: Size, Colors, Variant (box/underline), Border radius
- Set Initial content if you want pre-filled values
- Enable Password mode for secure input (shows dots)
- Use states: Value (gets the entered OTP), Is Complete (true when all segments filled)
- Handle events: Value Changed, OTP Complete, Focus, Blur
- Use Reset OTP action to clear and restore initial state