vibran

Icon rail sidebar with flyout submenu

Portuguese name: Sidebar de ícones com submenu flutuante

A narrow rail with only icons. Simple items show their name in a tooltip; items with a submenu open a side panel on hover, focus or tap. The panel stays open while the mouse travels from the icon to it, closes with Esc and avoids the bottom edge of the screen.

Preview of Icon rail sidebar with flyout submenu running live
Copy the promptAdjust colors and speed

When to use it

For systems with a lot of content and little spare width: the bar takes only 68 px and still gives access to submenus without pushing the page. Good for dense dashboards, editors and operations tools. On phones, tapping the icon opens and closes the panel.

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:

<nav data-efeito="sidebar-flyout" aria-label="Menu principal">
  <ul>
    <li><a href="#" aria-current="page"><svg>…</svg><span class="rot">Painel</span></a></li>
    <li>
      <button type="button"><svg>…</svg><span class="rot">Vendas</span></button>
      <div class="ef-fly"><p>Vendas</p><a href="#">Pedidos <small>24</small></a><a href="#">Orçamentos</a></div>
    </li>
  </ul>
</nav>

More sidebar effects

All 22 sidebar effects →