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.

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
- 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-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
- 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