vibran

Sparkle button

Portuguese name: Botão com faíscas

A sparkle button: while the mouse is over it, four-point stars appear around the button, spin, and fade out. The star in the icon spins along with them.

Preview of Sparkle button running live
Copy the promptAdjust colors and speed

When to use it

Good for actions about making something: generate artwork, build a quote, AI tools. The sparkles appear on hover, so on phones the button shows only the star icon. Lower data-ritmo if it gets busy next to the text, and set data-icone="nao" when the button already has its own icon.

How to add it to your site

  1. 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.
  2. Paste it into your AI: Lovable, Claude, Cursor, Bolt or v0.
  3. 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-faiscas">Gerar a arte</button>

More buttons effects

All 41 buttons effects →