vibran

Eyes that follow the cursor

Portuguese name: Olhos que seguem o mouse

A pair of cartoon eyes follows the mouse across the whole screen, blinks now and then and widens on click. When nobody moves the mouse, or on a phone, they look around on their own.

Preview of Eyes that follow the cursor running live
Copy the promptAdjust colors and speed

When to use it

A 404 page, a footer with personality, a brand mascot or the top of a contact page. It works best big and on its own, with a short line of text next to it. Add an aria-label, since the eyes are decoration and a screen reader needs to know what it is.

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:

<div data-efeito="olhos-seguem" data-quantidade="2" role="img" aria-label="Mascote da loja"></div>

More mouse effects

All 14 mouse effects →