Beam button on grid, spotlight grid button
Portuguese name: Botão farol sobre grade
A black button on a field of dark squares. A blurred red beam with a trail sweeps behind the label and follows the mouse once it reaches the button. The squares around it light up near the cursor and fade out slowly.

When to use it
Main call-to-action section for a product, tool or SaaS on a dark background, where the button is the star of the screen. The button sits inside a container that gets the grid; size that container however you like. Change --farol-cor to match the brand and use data-celula for larger or smaller squares.
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="botao-farol-grade"><button><b>+ Criar</b> Orçamento novo</button></div>
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
- Stroke draw buttonSVG border animation