vibran

Vertical glass dock

Also called: floating icon nav

An icon bar in a frosted glass pill, vertical or horizontal, light or dark. The active icon sits inside a solid circle that slides to the clicked one, and each icon shows its name in a tooltip on hover.

Preview of Vertical glass dock running live
Copy the promptAdjust colors and speed

When to use it

A fixed side menu for an app, dashboard or portfolio, over photos or colorful backgrounds where the frosted glass shows. On a flat dark background the glass disappears, so set --dock-vidro-fundo to a solid color. On phones use data-direcao="horizontal" and pin the bar to the bottom. Every item needs text, which becomes the accessible name and the tooltip.

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="dock-vertical-vidro" data-tema="escuro" aria-label="Menu"><a href="#" data-icone="casa" aria-current="page">Início</a><a href="#" data-icone="busca">Buscar</a><a href="#" data-icone="sino">Avisos</a></nav>

More navigation effects

All 20 navigation effects →