Icons & assets
Hamburger icon
Also calledmenu iconnav togglethree-lines iconmenu buttonburger menu
An icon of three stacked horizontal lines that opens a hidden navigation menu. It is the standard toggle for mobile menus and drawers.
How people describe it
- “three horizontal lines stacked in a button”
- “the icon you tap to open the menu on a phone”
- “three lines icon”
Good for
- Collapsed mobile navigation
- Opening a drawer or sidebar
What your library calls it
| LIBRARY | CALLS IT |
|---|---|
| Lucide | Menu |
| Heroicons | Bars3Icon |
| Phosphor | List |
| Tabler | IconMenu2 |
| Material Icons | menu |
| Radix Icons | HamburgerMenuIcon |
Accessibility checklist
- Icon-only buttons need an aria-label
- Expose the open state with aria-expanded
- Keep the tap target at least 44px
Try it
Click to morph into a cross. The label is announced as open or closed.
Settings
Colors
Pick, eyedrop, or generate a color, then choose Custom under Color above.
Passes AA · 6.9:1
Text color is chosen for you.
Start
End
Prompt
Add a hamburger button that opens the mobile menu.
~13 estimated prompt tokensDetailed: ~49 estimated prompt tokens
Rough estimate for prompt text only; actual counts vary by model and context.
<button aria-label="Open menu" aria-expanded="false" aria-controls="menu">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" aria-hidden="true">
<path d="M4 6h16M4 12h16M4 18h16" />
</svg>
</button>