vibran

Animated hamburger menu icon, menu toggle morph

Portuguese name: Botão de menu que se transforma

A hamburger button with six open animations: it turns into an X, an arrow, a plus, three dots, a chevron or a spinning X. A click toggles aria-expanded so your code can open the menu.

Preview of Animated hamburger menu icon, menu toggle morph running live
Copy the promptAdjust colors and speed

When to use it

Mobile site headers and side menus. X and spin suit overlays; arrow suits a drawer that goes back; plus suits actions; dots suit an options menu; chevron suits expanding lists. The button only toggles aria-expanded and fires the menu-alternado event, so the menu itself is yours to wire. Use data-rotulo-aberto so screen readers announce Close menu.

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:

<button data-efeito="botao-menu-animado" data-tipo="seta" aria-label="Abrir menu"></button>

More navigation effects

All 20 navigation effects →