Cursor-aware light border button, conic border follows mouse
Portuguese name: Botão com borda de luz que aponta para o mouse
The button's border lights up only on the stretch facing the cursor, like a comet of light that circles around as the mouse moves across the screen. The closer the mouse gets, the stronger the light and the glow spilling outside.

When to use it
Calls to action on SaaS, tool and product pages with a dark theme, when the button should catch the eye before the click. The glow starts at a distance (data-alcance) and does not rely on hover, so on phones it keeps just the quiet border. Set --bcu-cor and --bcu-ponta to the brand colour and use data-arco for a shorter or wider light.
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:
<button data-efeito="botao-borda-cursor">Agendar demonstração</button>
More buttons effects
- 3D push buttonBotão 3D
- Rainbow buttonBotão arco-íris
- Loading to success buttonBotão carregando e sucesso
- Gradient border buttonrotating border
- Marching ants button, animated dashed border buttonBotão com borda tracejada em marcha
- Shimmer buttonBotão com brilho passando
- Stroke draw buttonSVG border animation
- Particle burst buttonBotão com explosão de partículas