Frosted glass sidebar, light, icon rail + panel
Portuguese name: Sidebar de vidro claro
A floating frosted-glass sidebar with an icon rail that switches the panel beside it. On hover a white pill with a soft shadow slides from item to item, the active item gets a blue bar, and a light follows the mouse across the glass.

When to use it
Works when the page behind has colour, an image or a chart, since glass needs something to blur. On a flat white background it just looks like an ordinary card. Avoid small text over very vivid backgrounds: raise the opacity in --sb-fundo to keep contrast. Use data-luz="nao" on weak devices.
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:
<div data-efeito="sidebar-vidro-claro">
<nav aria-label="Seções">
<button data-painel="#principal" aria-label="Painel"><svg>…</svg></button>
<button data-painel="#suporte" aria-label="Suporte"><svg>…</svg></button>
</nav>
<div id="principal">
<h2>Principal</h2>
<a href="#" aria-current="page"><svg>…</svg><span>Dashboard</span></a>
</div>
<div id="suporte" hidden>…</div>
</div>
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