Change log
Components
Pagination
- Overview
- Usage
Overview
Principles
Add the pagination component after the content on each page that you're paginating.
Show an appropriate number of pages to fit the horizontal space available.
For large and medium screens, show page numbers for:
- the current page
- at least two pages immediately before and after the current page
- first and last pages
For smaller screens, show page numbers for:
- the current page
- first and last pages
Do not show the previous page link on the first page and do not show the next page link on the last page.
Do not show pagination if there's only one page of content.
Usage guidliness
Previous and next
Do not show the previous page link on the first page and the next page link on the last page.
Truncation
Use truncation when the page numbers do not fit in the available space. Avoid multiple rows of page numbers.
Single page
Do not show pagination if there’s only one page of content.