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.

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
- 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:
<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
- Vertical glass dock, spring active circleDock vertical de vidro
- Swipe drawer, off-canvas sidebarGaveta lateral com gesto
- Searchable sidebar, keyboard shortcutSidebar com busca e atalho
- Sidebar with rolling counters, odometer badgesSidebar com contadores que rolam
- Sidebar with spring active indicatorSidebar com indicador de mola
- Pinned sidebar, favorite menu itemsSidebar com itens fixados
- Reorderable sidebar, drag to sort menuSidebar com itens reordenáveis
- Accordion sidebar, nested menuSidebar com submenus em acordeão