vibran

Dark framed sidebar, collapsible

Portuguese name: Sidebar escura com molduras que recolhe

A near-black bar where each item is a thin-bordered frame with an inner shadow. Open, it is a wide bar with icon and text; collapsed, a square with only the icon and a tooltip on hover. The arrow button animates the width and the labels enter one after another. The active item has a blue light running along its border and the alert card at the bottom pulses with an animated flame icon.

Preview of Dark framed sidebar, collapsible running live
Copy the promptAdjust colors and speed

When to use it

For dark monitoring dashboards, operations and work tools where the bar must give room to the content. The alert card suits a live notice that should not go unnoticed. On narrow screens the bar starts collapsed.

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-moldura-escura" data-estado="aberta">
  <header><span class="ef-logo"><svg>…</svg></span><strong>Painel</strong></header>
  <nav aria-label="Principal"><ul>
    <li><a href="#" aria-current="page"><span class="ef-ic"><svg>…</svg></span><span class="ef-tx">Início</span></a></li>
    <li><a href="#"><span class="ef-ic"><svg>…</svg></span><span class="ef-tx">Projetos</span></a></li>
  </ul></nav>
  <div class="ef-alerta" role="status">
    <span class="ef-fogo"><svg>…</svg></span>
    <div class="ef-corpo"><strong>Movimento acima do normal agora</strong><ul><li>Acessos: 3x a média</li></ul></div>
  </div>
</aside>

More sidebar effects

All 22 sidebar effects →