- Use it to enable users to focus on a smaller section of content at once.
- Use it for separating large amounts of content.
- Use it to clarify that more content is available to explore.
Pagination
Pagination is a navigational element that divides content into pages for improved user experience with large amounts of data.
Dos and Don'ts
- Don't use it when there's only a small amount of content which fits in one single page.
Anatomy
- Pagination control: Icon Button which allows the user to show the information in the previous page. Will look disabled if there is no previous page.
- Selected page: Indicates which page is currently being viewed.
- Ellipsis (Optional): Represents other pages in between to save horizontal space.
- Page count: Indicates how many pages there are in total.
- Selected page / Dropdown control: Indicates both which page is currently being viewed and allows the user to skip to any page via the dropdown control.
Variants
Default
Dropdown
Behaviours
Default
A minimum and maximum value must always be defined. Once the value reaches either threshold, the correlating Icon Button is disabled.
Dropdown
Ellipsis
The ellipsis is used with default Pagination when the quantity of pages gets too large and overwhelming. If the total page count is over 7, and the number of hidden pages is more than 1, the ellipsis is displayed.
Interactions
The Pagination's Icon Buttons and controls are used to paginate the user across the pages. Ellipsis and disabled pagination controls aren't interactive.
Alignment
Alignment is always relative to the container width instead of the entire page.
Narrow
At narrow screen sizes the default variant uses dropdown controls in order to ensure content fits within the available width. This also allows users to skip to any page easily.
Interactive states
Outlines the atomic level interactive elements for the component.
Default
Hover
Active
Focus
Examples
LTR examples
Here are some examples of Pagination in LTR context.
RTL examples
Here are some examples of Pagination in RTL context.