Pagination allows users to navigate through a large set of data, such as tables, filtered lists or search results across multiple pages. Pagination helps users to find the information they need without overwhelming them with too much content at once.
On this page
| Variation | Description |
|---|---|
| Default | Use default variation when the container is 568 - 1440px and cannot be implemented in minimum breakpoint. |
| Compact | Use compact variation when the container is 288 - 567px and it can be implemented in all screen sizes. If results per page is visible in default be sure to have it visible in compact for consistent experience. Note: Due to space constrain, the First page and Last page buttons are removed from the pagination control. |
Pagination is a control that allows the user to easily move between pages, tables or content that it’s supporting within the page layout.
If the user is on the first page it will automatically disable first and previous page chevrons, and same goes for the last page.
We recommend using compact variation when the user wants to have a simpler functionality. Note that the total number of pages can be limited due to minimum width of 320px.
Avoid using default variation in minimum breakpoint as it does not fit the minimum requirement. See example below.
Compact variation has first page and last page button removed and limited number of total pages to ensure the component is responsive to fit the minimum of 288px. Reflow accessibility standard
Ensure you use a descriptive label or commonly recognized label so users can anticipate what types of content will be displayed.
Here are examples of how to use pagination on a page.
Pagination needs to ensure that the sequence is meaningful. The order of content in the sequence cannot be changed without affecting its meaning. Information, structure, and relationships conveyed through presentation can be programmatically determined to ensures that important information will be perceivable to all. Adaptable accessibility guidelines
Pagination will wrap to a new line on minimum breakpoint automatically from default to compact variation.
All pages must be responsive and reflow to a minimum of 320px. Pagination component will reflow to a minimum of 288px, to allow for margins and grid gutters.
Connect with the DLS Team on Slack or by email.
Check out additional resources.