Skip to main content

BETANow in public beta.Public betaBeta

日本語Español

HMB-010 Published

Two-pane hamburger menu

A menu split into two columns, with sections on the left and the child pages of the chosen section on the right.

Wireframe (desktop) | Two-pane hamburger menu

Two-pane hamburger menu UI design (desktop wireframe)

Wireframe (mobile) | Two-pane hamburger menu

Two-pane hamburger menu UI design (mobile wireframe)

What changes on mobile

  1. The left column is about 30% of the screen width: It is wide enough for section names to fit in two lines, and the rest goes to the column of child pages.
  2. The chosen section is filled: The section selected in the left column is filled, so it looks joined to the right column.
  3. The right column starts with the section overview: A link such as “Services overview” at the top of the right column leads to the section's own page.

Before you choose this pattern | Two-pane hamburger menu

Good fit

  • Five or more sections, each with many child pages
  • People should move between sections and compare child pages
  • Many products or services, so people often search inside the menu

Poor fit

Why this wireframe works | Two-pane hamburger menu

Pressing a section does not switch the screen

If the whole screen changes every time a section is pressed, comparing with another section means going back. Pressing a section on the left changes only the right column, making it easy to move between sections.

The left column shows which section is chosen

If it is unclear which section’s child pages are showing, the list on the right has no context. The chosen section is filled, and its name also appears at the top of the right column.

The section’s own page is reachable too

When pressing a section is used for switching, nothing is left to reach the section’s own page. An overview link such as “Services overview” sits at the top of the right column.

It opens with the current page’s section selected

If the first section is selected every time, people have to look again for the pages related to the one they are on. The menu opens with the section containing the current page selected, and that page is marked.

Common mistakes when building it

Pressing a section in the left column moves to its page

If a section pressed to switch the list moves to another page, people never get to see the child pages. Use the left column only for switching, and put the link to the section’s page in the right column.

The left column is too narrow to read section names

Giving the right column too much space on mobile makes section names wrap after a few letters. Keep the left column wide enough for names to fit in two lines, and keep the names short.

Both columns scroll together

If the left column moves along when the right column is long, people have to scroll back up to press another section. Let each column scroll on its own.

Screen readers are not told that the list switched

When only the right column changes, people who are not looking at the screen cannot tell anything happened. Build the left column as tabs and show the chosen section with aria-selected.

Frequently asked questions

Should the left column be built as tabs or as buttons?

It switches the content of the right column, so building it as vertical tabs (with the tablist role, marked as vertical) lets screen readers announce the chosen section. Letting the up and down arrow keys move between sections makes it easier to use with a keyboard too.

How do I choose between this and a drill-down hamburger menu?

When sections and child pages should be compared on the same screen, the two-pane hamburger menu works better. When names are long, or child pages have further levels under them, the drill-down hamburger menu, which gives the full width to a single column, is easier to read.

Should desktop use two panes too?

On desktop, a mega menu in the header can lay out sections and child pages the same way. If the menu sits behind a button on desktop too, the wide screen leaves room to add short descriptions to the child pages in the right column.

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