Skip to main content
NavigationLevel 2

Pagination

分页

WebDesktopDifficulty: Easy

A long list is cut into pages, with a row of page numbers at the bottom that lets you jump to one of them.

01

Live Demo

Actually clickable

Viewing results on page 3

48 pages · 20 per page

Try clicking a number. Pagination's value is being able to point at something — you can remember "it's on page 3".

What you just saw:The "‹ 1 2 3 … 48 ›" row under a set of search results, or the page number strip at the bottom of a Taobao product listing, are both pagination.

02

What it actually is

The core value of pagination is locatability: users can remember "the thing I want is on page 3" and jump straight back to it. For ordered, paged data — article lists, search results — it is still the most dependable option.

pagerpaging controlspage numberspage navigationpaginator
03

Anatomy · What it's made of

  1. Prev / Next上下页按钮

    Disabled and dimmed on the first and last page

  2. Page Numbers页码

    Current page highlighted, ellipses on both sides

  3. Current当前页

    Bolded or recolored

  4. Total Info总数信息

    For example "1,240 results"

04

When to Use

When it fits, and when it doesn't
Pagination usage recommendations
SituationUse it?
Content has a clear order and users may want to return to itYes
The total is finite and can be shown up frontYes
The URL must address a specific page (SEO / sharing)Yes
Infinite-scroll social feedsNo
The data set is enormous and users never jump to a pageNo

On phones, 10 items per page plus a row of page numbers is expensive to operate, and users lose track of where they are.

When the user goal is "keep scrolling" rather than "reach page 48", pagination is an obstacle.

05

Similar Patterns

Don't mix these up
Full comparisonPagination vs Infinite ScrollMy list is long. Paginate or infinite scroll?See the table
06

How to tell AI

Three levels of prompt

Add the component name and specifics

Add pagination at the bottom of the list with previous/next buttons and page numbers, highlighting the current page and using ellipses when the range overflows.

07

Don't just say this to AI

Bad → Better

Don't say this to AI

Add something to flip pages.

Say this instead

Add pagination at the bottom of the list — ‹ 1 2 3 … 48 › — with the current page highlighted, prev/next disabled on the first and last page, only prev/next on phones, and the page number synced to the URL.

08

Share this card

Social-ready

Turn this pattern into a 3:4 or 1:1 knowledge card and export it as PNG right in the browser. No backend needed.