GC Design System Components
Home Start to use Page templates overview Basic page Components overview Breadcrumbs Button Card Checkboxes Container Date input Date modified Details Error message Error summary Fieldset File uploader Footer Grid Header Heading Icon Input Language toggle Link Notice Pagination Radios Screenreader-only Search Select Side navigation Signature Stepper Text Textarea Theme and topic menu Top navigation CSS shortcuts overview Reset styles Responsive layout State Box sizing Container sizing Display Overflow Position Visibility Font Font family Font size Font style Font weight Line height Link colour Link size Link text decoration List style Text align Text colour Text overflow Text transform Word break Margin Padding Align content Align items Align self Flex Flex direction Flex grow Flex shrink Flex wrap Gap Grid columns Grid rows Justify content Justify items Justify self Order Place content Place items Place self Background colour Border colour Border radius Border style Border width Icon names Icon size Image Cursor Pointer events Transition Styles overview Design tokens Colour tokens Spacing tokens Typography tokens Contact us Get involved Find a demo

Pagination
<gcds-pagination>

Also called: page index, page navigation.

Pagination is a division of content into multiple linked pages.

Pagination component preview

Pagination anatomy

Simple pagination anatomy

  1. The previous arrow is a visual aid to indicate navigating backward, to previous pages in the page flow.
  2. The previous text is the text that accompanies the previous arrow and indicates that the user would be navigating to the previous page in the flow.
  3. The previous label indicates the label of the previous page to the user.
The pagination component with numbers pointing to individual parts of the simple pagination's previous link anatomy.
  1. The next text is the text that accompanies the next arrow and indicates that the user would be navigating to the next page in the flow.
  2. The next arrow is a visual aid indicating that you would be navigating forwards in the page flow.
  3. The next label indicates the label of the previous page to the user.
The pagination component with numbers pointing to individual parts of the simple pagination's next link anatomy.

List styled pagination anatomy

Large screens

  1. The previous link navigates to the previous page in the flow when selected.
  2. A page link navigates to it’s corresponding page in the flow.
  3. The current page indicates the page the user is currently on.
  4. An ellipsis replaces any pages that are being skipped.
  5. The next link navigates to the next page in the flow when selected.
The pagination component with numbers pointing to individual parts of the large screen list pagination anatomy.

Small screens

  1. A page link navigates to it’s corresponding page in the flow.
  2. The current page indicates the page the user is currently on.
  3. An ellipsis replaces any pages that are being skipped.
  4. The previous link navigates to the previous page in the flow when selected.
  5. The next link navigates to the next page in the flow when selected.
The pagination component with numbers pointing to individual parts of the small screen list pagination anatomy.
  1. The previous arrow is a visual aid to indicate navigating backward, to previous pages in the page flow.
  2. The previous text is the text that accompanies the previous arrow and indicates that the user would be navigating to the previous page in the flow.
The pagination component with numbers pointing to individual parts of the list pagination's previous link anatomy.
  1. The next text is the text that accompanies the next arrow and indicates that the user would be navigating to the next page in the flow.
  2. The next arrow is a visual aid indicating that you would be navigating forwards in the page flow.
The pagination component with numbers pointing to individual parts of the list pagination's next link anatomy.

Design and accessibility for pagination

Make pagination content findable

  • Put the most important information on the first few pages so there is a lower chance of it being missed.
  • Place the pagination component immediately under the page content you’re displaying, aligned to the left.
  • Ensure the navigational links appear as a single row and don't wrap onto the next line.

Use simple pagination for a small number of pages

Simple pagination is most suitable for 2-5 pages.

  • Use subheadings in simple pagination to let the user know where they are in the flow.
  • Include the page number and total number of pages, or the page title in the subheading to give more more context.

Use list styled pagination for a large number of pages

Use list styled pagination for large numbers of pages when using the ‘Previous’ and ‘Next’ links would make navigation cumbersome.

Help us improve

Have questions or a request? Give feedback on our contact form.

Something's wrong? Raise it through GitHub with an account. You'll have access to the team's direct responses, progress made on your issue, and issues raised by others.

Give feedback Report an issue on GitHub
2024-12-11