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.
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
- 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.
- Paste it into your AI: Lovable, Claude, Cursor, Bolt or v0.
- 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
- Folder tabstrapezoid tabs
- Sliding tabs, directional tab transition, stretching tab underlineAbas deslizantes
- Sliding pill tabssegmented control
- Gooey tabs, liquid tab indicator, liquid navbarAbas líquidas
- Curved bottom tab bar, jumping bubble tab bar, mobile bottom navigationBarra de app com bolha
- Bottom tab bar in 11 stylesBarra inferior de app em 11 estilos
- Shrinking glass navbar, sticky header on scrollBarra que encolhe e vira vidro
- Animated hamburger menu icon, menu toggle morphBotão de menu que se transforma