Skip to main content

Hamburger Menu

UI Design

What is a Hamburger Menu

A hamburger menu is a button with three horizontal lines that opens a hidden navigation menu. The icon looks like a hamburger, and tapping it usually opens a drawer or full-screen menu. It was first designed by Norm Cox for the Xerox Star in 1981.

How a Hamburger Menu works

  • Icon button: Three lines, usually in a top corner
  • Hidden menu: Navigation appears only after a tap
  • Drawer or overlay: The menu slides in or covers the page

When to use a Hamburger Menu

Use it for secondary links or on small screens when there are too many sections to show. Keep the most important destinations visible, for example in a tab bar, and add a "Menu" label next to the icon to make it clearer.

Hamburger Menu drawbacks

NN/g found that hiding the main navigation cuts discoverability almost in half and makes tasks slower, especially on desktop. Out of sight is often out of mind, so do not hide navigation users need often.

Frequently asked questions

Are hamburger menus bad for usability?

They hide navigation, and that has a cost. NN/g's testing found that hidden navigation cuts discoverability almost in half and makes tasks take longer, with a bigger effect on desktop than on phones.

Who invented the hamburger icon?

Norm Cox designed the three-line icon for the Xerox Star computer, introduced in 1981. A similar icon appeared in Windows 1.0 in 1985 before it spread on mobile websites and apps.

What can you use instead of a hamburger menu?

Show the most important destinations openly, for example in a tab bar on mobile or a top navigation bar on desktop, and keep the hamburger only for secondary links.