Skip to content

Pagination

Pagination splits long lists, tables and search results into pages. The examples go from the basic markup and sizes to alignment, ellipsis for long ranges, table and grid footers, custom shapes and compact pagers for small screens.

1Basic pagination

Previous, numbered pages and next, wrapped in a <code>nav</code> with an accessible label.

2Arrow icons

Replace the words with symbols and keep an <code>aria-label</code> for screen readers.

3Active and disabled

The current page is <code>.active</code>; Previous is <code>.disabled</code> on the first page.

4Large

<code>.pagination-lg</code> for touch-friendly, prominent controls.

5Small

<code>.pagination-sm</code> for tables and compact widgets.

6Centered

<code>.justify-content-center</code> on the list centers it.

7Right aligned

<code>.justify-content-end</code> moves it to the right edge.

8With ellipsis

Show the first and last page and a few around the current one; dots stand for the skipped pages.

9First and last buttons

Double chevrons jump to the start or end of a long list.

10Pager

Only older/newer links spread across the width - for blogs and articles.

11Round buttons

Circular page buttons with a little space between them; a scoped class sets the shape.

12Separated boxes

Each page as its own rounded box, using the theme radius.

13With results count

A summary of the visible range on one side and the controls on the other; stacks on phones.

Showing 41-50 of 141 results

14Page size selector

Let users choose how many rows they see next to the page links.

15Jump to page

A number input with a Go button for very long lists.

16Table footer

Pagination in a card footer under a data table.

NameRoleStatus
Theo AshfordSupport SpecialistPending
Maya HaddadOperations ManagerDraft
Elena SatoProduct DesignerActive
Ava LarsenArt DirectorApproved

17Below a card grid

Centered pagination closing a grid of product cards.

Running cap

Running cap

$138.00

Linen shirt

Linen shirt

$110.00

Ceramic mug

Ceramic mug

$363.50

18Accent active page

Override the pagination CSS variables to colour the active page with the template accent.

19Compact mobile pager

A button group with a page counter in the middle - fits any phone screen.

Page 3 of 15

20Load more

An alternative to numbered pages: a progress line showing how much is loaded and a load-more button.

You have viewed 24 of 212 items