Line draw input
Also called: underline input animation
An underline-only input. On click the label floats up and a blue line draws itself across the field with a glint running along its tip; with invalid data it draws in red.

When to use it
Good for short, clean forms: contact, newsletter, booking. On long forms a bare underline gets tiring, and a full bordered floating-label field works better. Pick where the line starts with data-origem and set --linha-cor to the brand blue.
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="campo-linha"><input id="email" type="email"><label for="email">E-mail</label></div>
More inputs effects
- Star ratingreview stars
- Expanding search barBusca que se expande
- Glowing inputAI prompt box
- Floating label inputCampo com rótulo flutuante
- Tag inputchips input
- Credit card formflip card on CVV
- OTP inputverification code input
- Liquid toggle switchgooey switch