Skip to main contentCarbon Design System

Pagination

The following page documents visual specifications such as color, typography, structure, and size.

Color

VariantElementPropertyColor token
PaginationContainerbackground-color$layer *
Borderborder-top$border-subtle *
Text: items per pagetext-color$text-primary
Text: number of itemstext-color$text-primary
Text: page range of total itemstext-color$text-secondary
Iconfill$icon-primary
Pagination navContainerbackground-colortransparent
Texttext-color$text-primary
Iconfill$icon-primary
Page: selectedborder$border-interactive

* Denotes a contextual color token that will change values based on the layer it is placed on.

Pagination color


Example of pagination color

Example of pagination color

Pagination nav color


Example of pagination nav color

Example of pagination nav color

Interactive state color

The pagination and pagination nav variants have nested select and ghost icon buttons that have interactive states. See the select and button style tabs for more information.

VariantStateElementPropertyColor token
PaginationHoverBackgroundbackground-color$layer *
FocusBorderborder$focus
DisabledTexttext-color$text-primary
Iconfill$icon-primary
Backgroundbackground-color$layer *
Pagination navHoverBackgroundbackground-color$layer-hover *
FocusBorderborder$focus
SelectedBorderborder$border-interactive
DisabledTexttext-color$text-disabled
Iconfill$icon-disabled
Backgroundbackground-colortransparent

* Denotes a contextual color token that will change values based on the layer it is placed on.

Pagination interactive state color


Example of pagination interactive state color

Example of pagination interactive state color

Pagination nav interactive state color


Example of pagination nav interactive state color

Example of pagination nav interactive state color

Typography

Pagination text should be set in sentence case with the first letter of each word capitalized.

VariantElementFont size (px/rem)Font weightType token
PaginationText14 / 0.875Regular / 400$body-compact-01
Pagination navText:unselected14 / 0.875Regular / 400$body-compact-01
Text:selected14 / 0.875SemiBold / 600$heading-compact-01

Structure

The pagination variant is connected to the bottom of data tables, and its width is determined by the width of the data table. The pagination nav variant is placed near the information it is paginated to, and its width is determined by the number of pages available.

VariantElementPropertypx / remSpacing token
PaginationContainerborder1px
padding-left, padding-right16 / 1$spacing-05
Select control: items per pagepadding-left8 / .5$spacing-03
padding-right16 / 1$spacing-05
Select control: number of pagespadding-left16 / 1$spacing-05
padding-right8 / .5$spacing-03
Chevron iconsvg16 x 16px
Caret iconsvg16 x 16px
Pagination navBorder: selectedborder4px
Caret iconsvg16 x 16px

Pagination structure


Structure and spacing measurements for pagination | px / rem

Structure and spacing measurements for pagination | px / rem

Pagination nav structure


Structure and spacing measurements for pagination nav | px / rem

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.

ElementSizeHeight (px/rem)
Container heightSmall (sm)32 / 2
Medium (md)40 / 2.5
Large (lg)48 / 3
Icon buttonSmall (sm)32 / 2
Medium (md)40 / 2.5
Large (lg)48 / 3

Pagination size


Small, medium, and large sizes of pagination

Small, medium, and large sizes of pagination

Pagination nav size


Small, medium, and large sizes of pagination nav

Small, medium, and large sizes of pagination nav

Feedback

Help us improve this component by providing feedback, asking questions, and leaving any other comments onGitHub.