vibran

Floating 3D glass sidebar, visionOS style

Portuguese name: Sidebar de vidro flutuante 3D

A glass panel that floats in depth: it turns slightly toward the mouse, a rim light follows the pointer and each item pops forward on hover or focus. At rest the panel gently bobs up and down.

Preview of Floating 3D glass sidebar, visionOS style running live
Copy the promptAdjust colors and speed

When to use it

For wellness, media or spatial apps, and product pages that want an object-in-space feel. It needs an image or colour behind it for the glass to show, and the tilt reacts to the pointer over the whole scene (the parent element). Use data-z on blocks that should sit closer, lower data-inclinacao for something subtle, and data-flutuar="nao" where the motion bothers people.

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:

<aside data-efeito="sidebar-vision" data-inclinacao="7">
  <h2 data-z="30">Resumo</h2>
  <nav>
    <a href="#" aria-current="page"><svg>…</svg><span>Atividade</span></a>
    <a href="#"><svg>…</svg><span>Sono</span></a>
  </nav>
</aside>

More sidebar effects

All 22 sidebar effects →