Hover list preview
Also called: floating image on link hover
In a list of links, hovering a row dims the others and shows an image that follows the mouse and tilts with its speed. Moving to another row crossfades the image. From the keyboard, the preview appears next to the focused row.

When to use it
For portfolio project indexes, blog tables of contents, episode lists, restaurant menus or any long list of links where an image helps choose without taking fixed space on the page. Give each item data-previa with the image URL (or a gradient) and, optionally, data-legenda. On phones and tablets only the list shows, so the text has to stand on its own. Use data-largura for bigger previews and data-inclinar="0" to remove the tilt.
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:
<ul data-efeito="lista-previa">
<li data-previa="casa.jpg" data-legenda="Site · 2026"><a href="/casa">Casa Ipê</a></li>
<li data-previa="linear-gradient(135deg,#ff7a45,#7a2e1d)"><a href="/cafe">Café Mantiqueira</a></li>
</ul>
More mouse effects
- Needle fieldcompass field
- Label cursorcontext cursor
- Gooey elastic cursormagnetic cursor
- Difference blend cursorinvert cursor
- Click sparkFaísca no clique
- Ribbon trailcursor ribbon
- Chromatic aberration image hover, RGB split on mouse moveImagem com aberração de cor
- Venetian blind image hover, slat image effectImagem persiana