vibran

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.

Preview of Frosted glass sidebar, light, icon rail + panel running live
Copy the promptAdjust colors and speed

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

  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:

<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

All 22 sidebar effects →