Pagination
The following page documents visual specifications such as color, typography, structure, and size.
Color
Pagination color
Element | Property | Color token |
---|---|---|
Container | background-color |
|
Border | border-top |
|
Text: items per page | text-color |
|
Text: number of items | text-color |
|
Text: page range of total items | text-color |
|
Icon | fill |
|
- Denotes a contextual color token that will change values based on the layer it is placed on.
Pagination interactive state color
The pagination variant has nested select and ghost icon buttons with interactive states. See the select and button style tab for more information.
State | Element | Property | Color token |
---|---|---|---|
Hover | Background | background-color |
|
Focus | Border | border |
|
Disabled | Text | text-color |
|
Icon | fill |
| |
Background | background-color |
|
- Denotes a contextual color token that will change values based on the layer it is placed on.
Pagination nav color
Element | Property | Color token |
---|---|---|
Container | background-color | transparent |
Text | text-color |
|
Icon | fill |
|
Page: selected | border |
|
Pagination nav interactive state color
The pagination nav variant has nested ghost icon buttons with interactive states. See the button style tab for more information.
State | Element | Property | Color token |
---|---|---|---|
Hover | Background | background-color |
|
Focus | Border | border |
|
Selected | Border | border |
|
Disabled | Text | text-color |
|
Icon | fill |
| |
Background | background-color | transparent |
- Denotes a contextual color token that will change values based on the layer it is placed on.
Typography
Pagination text should be set in sentence case with the first letter of each word capitalized.
Pagination typography
Element | Font-size (px/rem) | Font-weight | Type token |
---|---|---|---|
Text | 14 / 0.875 | Regular / 400 |
|
Pagination nav typography
Element | Font-size (px/rem) | Font-weight | Type token |
---|---|---|---|
Text: unselected | 14 / 0.875 | Regular / 400 |
|
Text: selected | 14 / 0.875 | SemiBold / 600 |
|
Structure
Pagination structure
The pagination variant is connected to the bottom of data tables, and its width is determined by the width of the data table.
Element | Property | px / rem | Spacing token |
---|---|---|---|
Container | border | 1px | – |
padding-left, padding-right | 16 / 1 |
| |
Select control: items per page | padding-left | 8 / .5 |
|
padding-right | 16 / 1 |
| |
Select control: number of pages | padding-left | 16 / 1 |
|
padding-right | 8 / .5 |
| |
Chevron icon | svg | 16 x 16px | – |
Caret icon | svg | 16 x 16px | – |
Pagination nav structure
The pagination nav variant is placed near the information it is paginated to, and its width is determined by the number of pages available.
Element | Property | px / rem | Spacing token |
---|---|---|---|
Border: selected | border | 4px | – |
Caret icon | svg | 16 x 16px | – |
Structure and spacing measurements for pagination nav | px / rem
Size
The pagination component is available in three sizes for both variants: large, medium, and small.
Element | Size | Height (px / rem) |
---|---|---|
Container height | Large (lg) | 48 / 3 |
Medium (md) | 40 / 2.5 | |
Small (sm) | 32 / 2 | |
Icon button | Large (lg) | 48 / 3 |
Medium (md) | 40 / 2.5 | |
Small (sm) | 32 / 2 |
Pagination size
Pagination nav size
Feedback
Help us improve this component by providing feedback, asking questions, and leaving any other comments onGitHub.