Hamburger menu toggle
Portuguese name: Menu hambúrguer que vira X
A hamburger menu toggle. The three bars merge into an X on click. The button toggles aria-expanded, which you use to open and close your own menu.
When to use it
The mobile menu button for almost any site. It only toggles aria-expanded; opening and closing the menu is up to you (it pairs well with the drawer). Set --icone-menu-cor for contrast against the header, and update the aria-label with the state.
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:
<button data-efeito="icone-menu" aria-label="Abrir menu"></button>
More icons effects
- Copy to clipboard iconBotão de copiar
- Animated checkmarksuccess icon
- Like buttonheart burst
- Notification bellSino de notificação
- Orbiting circlesÓrbita de ícones