Skip to main content

BETANow in public beta.Public betaBeta

日本語Español

HMB-006 Published

Labeled hamburger button

A menu button that adds the word “Menu” to the three-line icon and puts both inside a frame.

Wireframe (desktop) | Labeled hamburger button

Labeled hamburger button UI design (desktop wireframe)

Wireframe (mobile) | Labeled hamburger button

Labeled hamburger button UI design (mobile wireframe)

What changes on mobile

  1. The button is about 48px: The three lines and the word “Menu” are stacked, at a size that is easy to press with a finger.
  2. The menu is a full-width card: It opens right below the button, so it is clear which button opened it.
  3. The button is filled while the menu is open: Where to press to close can be seen even from a distance.

Before you choose this pattern | Labeled hamburger button

Good fit

  • A wide range of ages, including people the three-line icon alone may not reach
  • The menu button should be easy to find in the header
  • The button's look should show clearly whether the menu is open or closed

Poor fit

  • You need to decide how the menu itself opens (combine it with the drawer hamburger menu, the dropdown hamburger menu or similar)
  • The header has no room to make the button larger (start by cutting items from the header)
  • The most-used pages should always be visible, not hidden behind a button (the bottom tab bar works better)

Why this wireframe works | Labeled hamburger button

Words next to the three lines say it is the menu button

The three-line icon is widely used, but some people still cannot tell what it does. The word “Menu” sits under the three lines (inside the same button on desktop).

A frame makes it look pressable

An icon made of lines alone can be hard to tell apart from decoration. The whole button is framed, so the pressable area is clear at a glance.

While open, it becomes an × and “Close”

If the button looks the same, nothing says that pressing it again closes the menu. While the menu is open, the three lines become an ×, the word becomes “Close”, and the button is filled to make the change of state obvious.

The visible words match the name read aloud

Giving an icon only an aria-label can make what is shown and what is read aloud drift apart. The words “Menu” and “Close” inside the button serve as its name, and aria-expanded shows the open state too.

Common mistakes when building it

A bare three-line icon with no name

An icon-only button without a name is read out by screen readers as just “button”. Add visible words, or give it a name such as “Menu” with aria-label.

A small button that gets confused with the logo or the contact button

A small icon at the right end of the header leads to mistaps on the button next to it. Make it at least 44px and leave space between it and neighboring buttons.

The button looks the same whether open or closed

If the state does not change, people cannot tell whether the menu is open or whether pressing again will close it. Change the icon and the words, and switch the aria-expanded value too.

Using a word the readers are not familiar with

A stylized label can look smart, but it does not reach everyone. Choose a word that suits the site’s readers, such as “Menu”.

Frequently asked questions

Should the label be in the site’s language or in English, such as MENU?

Choose to suit the site’s readers. On sites with a wide range of ages, or sites mainly in one local language, a word in that language is easier to understand. If you use the English word for style on a site in another language, keep the name read aloud in the site’s language.

Isn’t the three-line icon understood by everyone by now?

Most people understand it, but not everyone does. Adding a word rarely gets in the way visually, so if being understood comes first, it is safer to add one.

Should the three lines animate into an ×?

Animating it makes it easier to see that the same button closes the menu. Keep the motion short, and for people who use the reduced-motion setting, skip the motion and just switch the display.

Related pages

Share this pattern

Send this page to your team or your design partner.

Was this pattern useful?

Written by

Yuta Okano

ENVY DESIGN Inc.

CEO / Director / Designer

14 years in the web industry. Has worked on more than 500 web projects, from corporate and recruiting sites to e-commerce. Focuses on information architecture, direction and design, from planning websites to improving them. In recent years he has focused on AIO (AI optimization) and GEO, helping sites get cited by generative AI search such as ChatGPT, Perplexity and Google AI Overviews.

Review and revision history

  1. Published AvatarYuta Okano Pattern published