Usage
Rules
- Pagination is always centered on a page, and typically placed at the bottom of a page before the footer
Constraints
- The pagination set can include up to 6 visible items (not including arrows), and ellipses will be used to represent a gap in successive visual page links
Principles
- Pagination helps users navigation through a series of related pages
Accessibility
- For pagination to be accessible it should be wrapped in a
nav
element and usearia-label
. In this way the pagination can easily be navigated to with landmarks. See configuration table below.
Class Names
pagination Required |
Add to the |
pagination-sm Modifier |
Use with |
pagination-lg Modifier |
Use with |
active Required |
Use with |
page-item Required |
Use on the |
arrow Modifier |
Use with |
page-link Required |
Use on the page link |
page-gap Modifier |
Use on a |
Configuration
aria-label Required |
Use on the |
aria-label Required |
Use on each |
aria-current="page" Required |
Use on the |
- Last updated May 21, 2018
- Not currently authorable
- Core - Pagination