← All articles

3 min read

Priority+ menu: the better alternative to the hamburger menu

Why the hamburger menu is often a poor choice and how a Priority+ navigation always shows as many menu items as possible.

A smartphone and a laptop show the same navigation, with a More button instead of a hamburger icon on the smartphone

In most cases, the hamburger menu is a poor way to present a navigation, because it isn’t intuitive and hides menu items too quickly. Usually the navigation is simply hidden below a certain resolution and a hamburger icon is shown instead. Visitors to the website therefore only see which navigation options they have after an extra click.

On top of that, the hamburger menu is often just an icon with three horizontal lines (hence the name hamburger). That isn’t really intuitive, because icons are easily misunderstood. It is therefore better to add a word such as “Menu” or “More”, or to use one instead of the icon.

The Nielsen Norman Group study “Hamburger Menus and Hidden Navigation Hurt UX Metrics” shows, for example, that hidden navigation measurably does harm.

That’s why we developed a so-called Priority+ navigation, which always shows as many menu items as can possibly be displayed. Menu items that no longer fit into the main navigation are moved automatically into a submenu (similar to the hamburger menu). This navigation offers the following advantages:

  • The most important navigation items stay visible for as long as possible
  • It requires a well-thought-out navigation structure, because the priority of the menu items decreases from left to right
  • No guessing: the button is called “More” and only appears when menu items are actually hidden
  • It works at every width, not just at fixed breakpoints. On a wide tablet, more stays visible than on a narrow smartphone

Try it yourself

Drag the slider to the left. The navigation gets narrower, and the menu items on the right move one by one into the “More” menu. The most important items on the left stay put.

There isn’t much to it technically: a ResizeObserver reports every change in the navigation’s size. Then all menu items go back into the bar, and for as long as they don’t fit, the last one moves into the “More” menu. That way the navigation reacts to every width, even when it isn’t the window that changes but only a container.

In use on p-jentschura.com

For the relaunch of p-jentschura.com, we built the main navigation on the Priority+ principle:

As the window gets narrower, menu items move from right to left into the submenu.

What to watch out for

  • Order is priority. What’s on the right disappears first. The navigation must therefore be sorted by importance, not by habit.
  • A word instead of an icon. Everyone understands “More” or “Menu”. Three lines, not so much.
  • Keyboard and screen reader. The “More” button needs aria-expanded, and the submenu must close with Escape and be reachable with Tab.
  • No fixed breakpoints. The width of the menu items depends on font, language and text length. Measuring is more reliable than guessing.