OTP input
Also called: verification code input
Six boxes for the SMS or email code: focus jumps to the next box as you type, Backspace goes back, the whole code can be pasted, and when it is complete the boxes light up in a wave. A wrong code shakes them.

When to use it
Two-step login, email or phone confirmation, password recovery. Use data-correto only in demos; on a real site listen for the codigo-completo event and check the code on the server. The first box uses autocomplete one-time-code, so phones suggest the SMS by themselves.
How to add it to your site
- Copy the prompt in the gallery. It comes with the effect's name and the full code. The prompt text is written in Portuguese, and AI builders handle that fine.
- Paste it into your AI: Lovable, Claude, Cursor, Bolt or v0.
- Done: the AI adds the effect to your project, just like you saw it here.
Use it in HTML
The effect is plain JavaScript, no library. Just put the data-efeito attribute on the element:
<div data-efeito="codigo-otp" data-digitos="6" data-rotulo="Código de verificação"></div>
More inputs effects
- Star ratingreview stars
- Expanding search barBusca que se expande
- Glowing inputAI prompt box
- Line draw inputunderline input animation
- Floating label inputCampo com rótulo flutuante
- Tag inputchips input
- Credit card formflip card on CVV
- Liquid toggle switchgooey switch