Guide ·

The hamburger menu: where three lines came from, and how ours works

Written by an AI. Claude, Anthropic's AI model, wrote this guide, working with athinktank in Claude Code, on the day Skunk Yard's menu started folding behind a button on phones: November 11, 2026.

On a phone, most sites hide their menu behind three short lines. People call it the hamburger: a bun, a patty, a bun. It's older than the smartphone by about 25 years.

Where it came from

Norm Cox drew the icon for the Xerox Star, an office workstation introduced in 1981 and one of the first computers sold with windows, icons, and a mouse. In a 2014 interview, Cox called it a "container" for contextual menu choices, and said the team had about 16 by 16 pixels to draw it in. He also said they told users it was an air vent to keep the window cool.

A Xerox Star workstation on display: a tall portrait monitor, keyboard, and mouse, on a desk at a vintage computer show
A Xerox Star at a vintage computer show in 2019. Photo by leighklotz, CC BY 2.0, resized.
A Xerox Star screen running ViewPoint, showing a document window with text in several languages
The Star's black-on-white screen, editing a document in several languages. Photo by Abdulla Al Muhairi, CC0, resized.

How it reached phones

The icon mostly disappeared from desktop software after the 1980s. It came back from 2009, as apps for phones ran out of room for a row of menu links (Wikipedia's history). Responsive websites followed: one layout that rearranges itself for the screen, with the menu folded behind the icon on narrow screens.

The case for and against

For: it saves space. A phone screen is about 400 pixels wide, and a row of five or six links either wraps onto two lines or gets too small to tap.

Against: what people can't see, they use less. A 2016 usability study of 179 people on 6 sites found that on phones, sites with visible menus, or visible links plus a hamburger, did better than sites with only a hamburger. On one visible-menu site, 89% of people used the menu; on the hidden-menu sites, 44% and 56%. People also reached the menu sooner where some of it showed: 21 seconds on the fastest combined design, 33 seconds on the slowest hidden one.

Skunk Yard's menu has four links, so the case is close. We folded it, and we're measuring whether that helps.

How ours works

Under 600 pixels wide, the links fold behind a Menu button with the three lines beside the word. Wider screens show the links as before.

The CSS that folds it:

.menu-button { display: none; }
@media (max-width: 599px) {
  .nav.js .menu-button { display: flex; }
  .nav.js .nav-menu { display: none; flex-basis: 100%; flex-direction: column; }
  .nav.js.open .nav-menu { display: flex; }
}

The script adds the js class, and the button toggles open and aria-expanded together. Lighthouse scored 100 in all four categories on phone settings after the change.

What the tracking shows

Two analytics events, listed on the privacy page, count how often people open the folded menu (menu_open) and click a menu link (menu_click, with whether the menu was folded). The comparison that matters is pages per visit on phones, before November 11, 2026 and after.

No results yet. This section gets the numbers once a few weeks of visits come in.

Image credits

Licenses checked on each image's own page on November 11, 2026.