Skip to main content

BETANow in public beta.Public betaBeta

日本語Español

PGN-001 Published

Numbered pagination

Pagination that splits a list across several pages and lines up page numbers to move between them.

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) | Numbered pagination

Numbered pagination UI design (desktop wireframe)

Wireframe (mobile) | Numbered pagination

Numbered pagination UI design (mobile wireframe)

What changes on mobile

  1. Numbers on either side are dropped: So the row fits on one line at a narrow width while the buttons stay large enough to tap.
  2. "Previous" and "Next" become arrows at both edges: Aligned where the thumb reaches, reducing taps on the wrong number.

Before you choose this pattern | Numbered pagination

Good fit

  • There are many articles or products, and the list runs over several pages
  • Some readers want to go back to a specific page ("that article on page 3")
  • You want search engines to find each page of the list as its own page

Poor fit

Why this wireframe works | Numbered pagination

The numbers tell you how far you have come

Because the current page number and the last page number are visible at the same time, you can see the size of the whole list and roughly where you are at a glance. Together with “Showing 25–30 of 140” above the list, you can also estimate how much is left.

Distant pages are one tap away

Keeping the first and last pages always visible means you can jump back to the newest articles, or straight to the oldest, without pressing “Next” again and again.

Each page has a URL, so you can come back later

Giving each page its own URL such as ?page=5 means it can be bookmarked and shared, and the browser’s back button returns to the same page. Search engines can also follow the links to find articles on page 2 and beyond.

Common mistakes | Numbered pagination

Every number is listed and the row wraps to two lines

Once a list passes 20 pages, a row of every number wraps, and the current page becomes hard to find. Show only the pages around the current one plus the first and last, and collapse the rest into “…”.

The current page is shown by color alone

A slight difference in color is hard to tell apart in some display settings and environments. Mark the current page with a filled background and bold text, and add aria-current=”page” so screen readers announce it too.

Buttons are so small that the next number gets tapped

When the number squares are small, a finger on mobile lands on the neighboring number. Keep them around 44px square, and reduce the number of pages shown when they do not fit.

Page 2 onward is treated as the same page as page 1

Pointing the canonical URL of page 2 onward at page 1 makes articles that appear only on those pages hard for search engines to find. Give each page its own canonical URL.

FAQ | Numbered pagination

How many items should go on one page?

Around 10–20 for a list of articles, or a number divisible by the column count such as 12 or 24 for image-heavy cards. If a page is too long, readers rarely reach the pagination; if it is too short, they move pages too often. A good rule is a page that fits in two or three screens.

Are “First” and “Last” buttons needed?

When the first and last page numbers are always shown, separate buttons can usually be dropped. If there are so many pages that the last page cannot fit in the row of numbers, a separate “Last” button is one option.

Should rel=”prev” and rel=”next” be added?

Google has stated that it does not use rel prev and next to understand groups of pages. Adding them does no harm, but what matters more is giving each page its own URL and connecting the pages with ordinary links.

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