vibran

Click spark

Portuguese name: Faísca no clique

A click spark effect. Each click throws out a burst of short light streaks in all directions from the point you clicked.

Preview of Click spark running live
Copy the promptAdjust colors and speed

When to use it

A light touch for portfolios, game pages or personal sites that answers every click. On a long form or a checkout page it can feel like a joke at the wrong time. Put it on a section instead of the whole body to limit it, and set data-cor to the brand accent.

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:

<body data-efeito="faisca-clique">

More mouse effects

All 14 mouse effects →