vibran

Vertical glass dock, spring active circle

Portuguese name: Dock vertical de vidro

A glass pill with stacked icons. The solid white circle of the active item slides to the clicked icon on a spring that stretches and settles. A tooltip beside each icon, arrow keys to move, and a light or dark theme.

Preview of Vertical glass dock, spring active circle running live
Copy the promptAdjust colors and speed

When to use it

For apps with few sections, 4 to 7: a studio, calendar, player or gallery. More than that makes the column too long, so use a sidebar with labels. Every icon needs an aria-label, which also becomes the tooltip. Use data-tema="escuro" over bright photos and lower data-mola for a softer slide.

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-dock-vertical" data-tema="claro" aria-label="Principal">
  <a href="#" aria-label="Início" aria-current="page"><svg>…</svg></a>
  <a href="#" aria-label="Aulas"><svg>…</svg></a>
  <a href="#" aria-label="Agenda"><svg>…</svg></a>
</nav>

More sidebar effects

All 22 sidebar effects →