vibran

Label cursor

Also called: context cursor

The arrow becomes a dot that follows the mouse and, over an item with a label, swells into a bubble with text such as View project or Watch. On regular links it becomes a ring and squeezes on click. It does nothing on mobile.

Preview of Label cursor running live
Copy the promptAdjust colors and speed

When to use it

For portfolios, agencies, studios, galleries and case study pages, where a big card benefits from an action hint (View project, Watch, Drag, Open). It can apply to the whole page (on body) or just a section. Keep the action in the card text too: phone and keyboard users never see the bubble. Tune data-tamanho and the colors with --cursor-rotulo-fundo and --cursor-rotulo-texto; each item can have its own color in data-rotulo-cor.

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:

<section data-efeito="cursor-rotulo">
  <a href="/projeto" data-rotulo="Ver projeto">
    <img src="capa.jpg" alt="Projeto Casa Ipê">
  </a>
  <a href="/video" data-rotulo="Assistir" data-rotulo-cor="#ffd23f">Vídeo de apresentação</a>
</section>

More mouse effects

All 14 mouse effects →