Skip to main content

BETANow in public beta.Public betaBeta

日本語Español

TOC-005 Published

Mobile button table of contents

Once readers scroll past the contents at the top, a Contents button appears at the bottom of the screen and opens the contents when pressed.

Wireframe (desktop) | Mobile button table of contents

Mobile button table of contents UI design (desktop wireframe)

Wireframe (mobile) | Mobile button table of contents

Mobile button table of contents UI design (mobile wireframe)

What changes on mobile

  1. A bottom bar within reach of the thumb: Holding a phone in one hand, the bottom of the screen is easier to press than the top.
  2. Contents open as a sheet from the bottom: The list appears right above where the button was pressed, so readers pick a section without moving their finger far.

Before you choose this pattern | Mobile button table of contents

Good fit

  • Mostly read on phones, with readers moving between sections of long articles
  • No room beside the body for contents (single-column blogs and guides)
  • You want to keep the contents at the top and still offer them after readers move on

Poor fit

Why this wireframe works | Mobile button table of contents

Back to the contents midway through

Without returning to the top, readers open the contents from the button at the bottom and move to another section. It helps when checking an earlier section late in a long article.

The button alone shows the position

The button carries the number and name of the section being read, so readers know roughly where they are without opening the contents.

No reading space lost

The contents open only when needed and otherwise take the height of a single bar. Even on a small phone screen, reading space barely shrinks.

Common mistakes | Mobile button table of contents

Focus stays on the button after opening

If focus does not move, keyboard and screen reader users cannot tell the contents opened. Move focus to the current section’s item on opening, and back to the button on closing.

The contents stay open after an item is pressed

After moving, the contents still cover the screen and the destination cannot be seen. Close the contents first, then move.

Top contents and button shown together

With the top contents visible and a button below, two things doing the same job crowd the screen. Show the button only after the top contents leave the screen.

Overlap with other sticky elements at the bottom

A chat button or sticky call to action overlapping the contents button makes both hard to press. Combine bottom elements into one bar and decide where each goes.

FAQ | Mobile button table of contents

Can the top contents be removed, leaving only the button?

The top contents show the article’s structure first and give search engines and AI the list of headings. Treat the button as help once readers have moved on, and keep the top contents.

Should the body scroll while the contents are open?

No, keep the background still. If it moves, readers lose their place when they close the contents.

Should desktop show the same button?

Where there is no room for a sidebar on desktop, the same mechanism works as a button at the bottom right. With room for a sidebar, the sticky sidebar type (TOC-003) is usable without opening anything.

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