Stroke draw button
Also called: SVG border animation
On hover, a light line draws itself around the button from two opposite corners until the ends meet. When the mouse leaves, the line erases.

When to use it
Good as a secondary button on restaurant, portfolio, architecture or fashion sites, next to a filled one. The effect depends on hover, so on phones the button shows only the static border, which has to read well on its own. Tune --contorno-base so that resting border has contrast, and --contorno-tempo if the draw feels slow for quick mouse passes.
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:
<a href="#" data-efeito="botao-contorno">Ver o cardápio</a>
More buttons effects
- 3D push buttonBotão 3D
- Rainbow buttonBotão arco-íris
- Loading to success buttonBotão carregando e sucesso
- Cursor-aware light border button, conic border follows mouseBotão com borda de luz que aponta para o mouse
- Gradient border buttonrotating border
- Marching ants button, animated dashed border buttonBotão com borda tracejada em marcha
- Shimmer buttonBotão com brilho passando
- Particle burst buttonBotão com explosão de partículas