vibran

Two-level sidebar with icon rail and context column

Portuguese name: Sidebar em dois níveis com trilho de ícones

Three dark glass columns: a tall pill rail of icons, the Menu panel with counters, plus and minus signs and sub-items joined by a thin line, and a context column that swaps with an animation. The active item becomes a blue pill, the active sub-item a light pill, and on the rail a circle and a dot glide to the item's icon.

Preview of Two-level sidebar with icon rail and context column running live
Copy the promptAdjust colors and speed

When to use it

For systems with many areas and sub-areas: the rail gives icon shortcuts, the panel shows the hierarchy and the side column gives the context of what is open without changing page. Below 700 px the context column hides and the rail and menu remain.

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-dois-niveis">
  <aside class="ef-menu">
    <header><span class="ef-logo"><svg>…</svg></span><strong>Menu</strong></header>
    <ul class="ef-itens">
      <li data-ctx="projetos">
        <button type="button"><svg>…</svg><span>Projetos</span><em>4</em></button>
        <ul class="ef-sub"><li><a href="#" aria-current="page">Em andamento</a></li><li><a href="#">Concluídos</a></li></ul>
      </li>
    </ul>
  </aside>
  <div class="ef-contexto">
    <section data-para="projetos"><h4>Projetos</h4><a href="#"><svg>…</svg><span>Arquivo</span></a></section>
  </div>
</div>

More sidebar effects

All 22 sidebar effects →