Skip to main content

BETANow in public beta.Public betaBeta

日本語Español

TAB-003 Published · Updated

Vertical tabs

A design that stacks the tabs vertically on the left and shows the content on the right.

FigmaThis part is included in our free, editable Figma file: 235 website UI patterns across 32 parts, 2 designs each Open in Figma Community ↗ (opens in a new tab)

Wireframe (desktop) | Vertical tabs

Vertical tabs UI design (desktop wireframe)

Wireframe (mobile) | Vertical tabs

Vertical tabs UI design (mobile wireframe)

What changes on mobile

  1. Tabs restacked above the content in two columns: Keeping the left column would leave the content very narrow.
  2. A two-column grid: In one column the list grows long and pushes the content below the screen.

Before you choose this pattern | Vertical tabs

Good fit

  • Many items (six or more as a guide), or long names that will not fit in a row of tabs
  • Service lists, settings: names on the long side
  • You want the list of item names always visible

Poor fit

  • Three to five items with short names (the <a href="/patterns/en/tabs-top/">top tabs</a> are enough)
  • You want the full width for the content (the left column takes some of it)

Why this wireframe works | Vertical tabs

Every name visible, however many items

The tabs are stacked vertically, so names stay unwrapped and fully visible as items grow. Numbers that would never fit in one row are handled in the same shape.

The selected item shown by line and background

The selected item has a thick line on its left and a different background. Even with many items, it is clear which one is being read.

Keyboard movement matches the vertical layout

The tablist has aria-orientation=”vertical”, and ↑ ↓ move between items. The direction of the keys matches the direction of the layout.

On mobile, the items are restacked in two columns

There is no room for a left column on mobile, so the items are restacked above the content in two columns, keeping every name visible on one screen.

Common mistakes | Vertical tabs

A left column so wide the content is squeezed

Widening the left column to fit the names leaves the content narrow. Make it just wide enough for the longest name.

A vertical list moved with ← →

When a vertical layout moves with ← →, the operation feels wrong. For vertical tabs, move with ↑ ↓ and convey it with aria-orientation=”vertical”.

So many items the column outgrows the screen

At fifteen or twenty items, the left column has to be scrolled before choosing. Group the items or split them across pages.

Content heights that differ widely between items

Mixing short and long items changes the page height drastically on every switch. Even out the amount of content, or move long items to their own pages.

Keeping vertical key handling after a 2-column layout on mobile

If tabs become a 2-column grid on mobile, decide an arrow-key order that matches what people see, and keep aria-orientation in sync with the real keyboard behavior. If you switch to a select, remove the tab roles.

FAQ | Vertical tabs

How do vertical tabs differ from a side menu?

Vertical tabs switch content within one page; a side menu moves to other pages. For moving between pages, build links and mark the current page with aria-current.

Can vertical tabs stay vertical on mobile?

Kept vertical, the left column makes the content very narrow. Restacking the items above the content, or switching to an accordion, suits better.

Should the left column stay in view while scrolling?

With long content, keeping the left column on screen makes it easier to move to other items. With short content, it is rarely a problem if it scrolls away.

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