Digital pattern library

Pagination

Pagination links should be used as a method of navigating a set of content that is divided between multiple pages or views. Typical use of this pattern would be when a large set of results requires to be split for performance reasons, or when the ability to access a specific listings page is a user requirement.

Rules for pagination

Options available


Pagination

Where space permits the 'Next' and 'Previous' button text should be shown alongside the arrows.

Example
Code


Pagination with disabled and active states

Example
Code


Pagination with large number of pages

When there are a large amount of pages should be used to signify any page links that are not immediately displayed.

Example
Code


Compact pagination

A small, more compact, sizing that would be best used on internal web applications and mobile displays.

Example
Code


Pager

Simple 'Previous' and 'Next' links for pagination implementation use cases that need a linear navigation through adjoining results. For example these can be used at the bottom of a blog post or news article to allow the user to proceed to another post.

Example
Code


Pager with disabled state

Pager links also use the general disabled utility class from the pagination. Disabled links are to be used when there is no preceeding or following pages to navigate to.

Example
Code