vibran

Expandable icon tabs, expanding tab bar

Portuguese name: Abas de ícone que expandem

A pill-shaped icon bar: the active item opens to show its name beside the icon with a small spring, while the others stay icon-only. Each item can carry a notification count.

Preview of Expandable icon tabs, expanding tab bar running live
Copy the promptAdjust colors and speed

When to use it

Navigation bar for a dashboard, mobile app or toolbar with 3 to 5 icons, where space is tight and only the current item needs a name. Use SVG icons with stroke=currentColor. data-contagem="3" puts a count on the icon. With data-recolher="sim" the bar works as a tool menu: clicking outside or pressing Esc closes the open label. The text stays in the HTML, so screen readers read every item's name.

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="abas-icone-expansivas" aria-label="Painel"><a href="#agenda" aria-current="page"><svg>...</svg><span>Agenda</span></a><a href="#clientes"><svg>...</svg><span>Clientes</span></a><a href="#avisos" data-contagem="3"><svg>...</svg><span>Avisos</span></a></nav>

More navigation effects

All 20 navigation effects →