Brazilian phone input
Also called: DDD mask
A phone field with the Brazilian flag and +55, a mask that formats as (31) 98888-7766 while typing, DDD (area code) validation showing the state, and a mobile or landline tag. Accepts pasted numbers with +55, spaces and dashes.

When to use it
Any Brazilian form that asks for a mobile or phone number: quotes, signup, delivery. The hidden field named by data-nome carries only digits with 55 in front, ready for a WhatsApp wa.me link. data-tipo="celular" rejects landlines. For other countries, swap the flag and mask.
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="telefone-br"><label for="zap">WhatsApp</label><input id="zap" type="tel"></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
- OTP inputverification code input