Skip to content
OAIT Design System

Design system / Components

Pagination

How long collections continue: data tables page with a status line and previous and next circles; member lists show five items and a "Show {count} more" button.

When to use

  • Pager: under a data table in a console or a directory with more rows than one page holds (Global ID's people directory, 25 rows a page) (canonical §10.13, D-CSN-18).
  • Show more: member-facing lists that people scan, such as Global ID's "Where you're signed in" and its passkeys on the Security page, list rows on a profile or a settings page: five items, then the button (canonical §10.12, D-CSN-18).
  • Listing pages (Global Jobs' results) use one of the two: the pager for a paged search, "Show more" for a short list (canonical §11 template 4).

When not to use

  • Never numbered page strips (1 2 3 … 9) and never infinite scroll (D-CSN-18): numbered strips are dense targets, infinite scroll hides the footer and loses the place.
  • Five items or fewer: show them all, with no control.
  • Steps of a task: use the stepper.
  • Switching between views of the same content: use tabs or a segmented button.

Anatomy

Pager

  1. Navigation (<nav class="oa-pagination" aria-label="Pagination">): a wrapping row, space between.
  2. Status (oa-pagination__status): "Showing {from}–{to} of {total}".
  3. Controls (oa-pagination__controls): 3a the previous circle, 3b the page label (oa-pagination__page, "Page {page} of {pages}"), 3c the next circle.
  4. Circle (oa-pagination__btn): a 48px link with a 24px mirrored chevron, named "Previous page" / "Next page"; an unavailable direction is a <span aria-disabled="true"> with its name in hidden text.

Show more

  1. List: the first five items (a list or cards).
  2. Button (oa-btn oa-btn--outlined, md) in <div class="oa-pagination oa-pagination--more">: "Show {count} more".

Variants

Variant Use for Key tokens
Pager data tables, directories, paged search results --color-outline circle edge, --color-on-surface-variant icon and status
Pager, unavailable direction the first page's previous, the last page's next --color-outline-variant edge, --color-outline icon
Show more member lists the outlined md button (--color-outline, --color-primary-ink)

Sizes

Part Height Padding Type style Icon
Row wraps; 8px between lines, 16px between groups — — —
Status one line — body-md —
Circle 48 × 48px — — chevron_left / chevron_right 24px
Page label — at least 96px wide, centered, 8px from each circle body-md at 500 —
Show more 48px (oa-btn, md) 24px inline label-lg —

Tokens

Part Property Token
Status text --color-on-surface-variant, --text-body-md
Page label text --color-on-surface, --text-body-md, --font-weight-medium
Page label width --space-24 (96px, min-w-24)
Circle size, shape --size-touch-target, --radius-full
Circle edge, icon 1px --color-outline, --color-on-surface-variant
Circle, unavailable edge, icon 1px --color-outline-variant, --color-outline
Circle state layer --opacity-state-hover, --opacity-state-pressed, --duration-short-3, --ease-standard
Row gaps --space-2, --space-4
Focus ring --color-focus-ring, --size-focus-ring, --size-focus-offset

States

State Circle Show more
Enabled outline edge, on-surface-variant chevron the outlined button
Hover (pointer devices) the 8% layer (--opacity-state-hover) the 8% layer
Focus-visible the 3px ring 2px outside the circle the ring
Pressed the 12% layer, shown at once the 12% layer
Unavailable a span with aria-disabled="true": outline-variant edge, outline chevron, no layer, not focusable —
Loading — while the next items load: aria-busy="true" and a spinner with words ("Loading people…"), presses ignored (canonical §10.0)
Done — when every item shows, the button goes away

Behavior

  • Pager. Each circle is a link to the previous or next page in the URL (?page=2), so pages can be shared and reloaded and the back button works; a table that pages on the client may use <button> circles with the same classes. The status and the label change with the page. A page change is a route change: the page's h1 takes focus (canonical §13).
  • Show more. The button adds the next items to the same list and moves focus to the first new item (give it tabindex="-1" if it is not a link or a button). {count} is the number of items the press adds; when the rest is short, it adds them all (six signed-in devices: "Show 1 more"). When nothing is left, the button goes away; the list does not collapse again.
  • Layout. The status sits at the inline start and the controls at the inline end; on a narrow window the controls wrap under the status.
  • Nothing moves: only the state layer fades over --duration-short-3.

Accessibility

  • <nav aria-label="Pagination"> ("التنقّل بين الصفحات", "Pagination") holds the pager, so it is reachable from the landmarks list.
  • The circles are named by aria-label ("Previous page" / "الصفحة السابقة" / "Page précédente"; "Next page" / "الصفحة التالية" / "Page suivante"). The unavailable direction is a span with aria-disabled="true" and the same name in visually hidden text; it is not focusable, and the label "Page 1 of 2" already says there is no earlier page.
  • Targets are 48 × 48px (D-LAY-12). The outline edge reaches 3:1 on the page (4.29:1 light, 5.85:1 dark); the unavailable edge is decorative and the chevron is the only cue, with the label beside it.
  • "Show {count} more" names the result, and focus moves to the first new item, so keyboard and screen-reader users continue where the new items start.

RTL and languages

  • The chevrons mirror in Arabic (oa-icon--mirror): previous points right, next points left (canonical §8.3); the order of the circles follows the direction.
  • Numbers stay Western digits, formatted with Intl and -u-nu-latn; a range inside Arabic text is isolated left to right: عرض <bdi dir="ltr">1–25</bdi> من 48 (canonical §3.6, §14.3).
  • French adds a few characters ("Affichage de 1 à 25 sur 48"); the row wraps.

Content

Element English Arabic French
Navigation name Pagination التنقّل بين الصفحات Pagination
Status Showing {from}–{to} of {total} عرض {from}–{to} من {total} Affichage de {from} à {to} sur {total}
Page label Page {page} of {pages} الصفحة {page} من {pages} Page {page} sur {pages}
Previous / next Previous page / Next page الصفحة السابقة / الصفحة التالية Page précédente / Page suivante
Show more Show {count} more عرض {count} أخرى Afficher {count} de plus
  • Ranges take an en dash ("1–25"), never a hyphen (canonical §12.2). Never "Load more" or "See more" (canonical §12.3).

Do and don't

Do Don't
Show the status, the page label, and two 48px circles. Show numbered page strips or "First" and "Last" buttons.
Render an unavailable direction as a span with aria-disabled. Remove the circle, which shifts the layout, or leave a dead link.
Show five member items, then "Show {count} more". Load items as people scroll.
Move focus to the first new item after "Show more". Leave focus on the button, below the new items.

Code

HTML (reference CSS)

The pager on the first page:

<nav class="oa-pagination" aria-label="Pagination">
  <p class="oa-pagination__status">Showing 1–25 of 48</p>
  <div class="oa-pagination__controls">
    <span class="oa-pagination__btn" aria-disabled="true"><span class="oa-icon oa-icon--mirror" aria-hidden="true" translate="no">chevron_left</span><span class="oa-visually-hidden">Previous page</span></span>
    <span class="oa-pagination__page">Page 1 of 2</span>
    <a class="oa-pagination__btn" href="#people-page-2" aria-label="Next page"><span class="oa-icon oa-icon--mirror" aria-hidden="true" translate="no">chevron_right</span></a>
  </div>
</nav>

"Show {count} more" under a member list:

<ul class="oa-list oa-list--card" id="signed-in-devices">
  <li class="oa-list-row oa-list-row--two-line"><div class="oa-list-row__content"><p class="oa-list-row__headline">Safari on iPhone or iPad</p><p class="oa-list-row__supporting">Signed in on 2 November 2026</p></div></li>
  <li class="oa-list-row oa-list-row--two-line"><div class="oa-list-row__content"><p class="oa-list-row__headline">Edge on Windows</p><p class="oa-list-row__supporting">Signed in on 27 October 2026</p></div></li>
  <li class="oa-list-row oa-list-row--two-line"><div class="oa-list-row__content"><p class="oa-list-row__headline">Chrome on Android</p><p class="oa-list-row__supporting">Signed in on 24 October 2026</p></div></li>
  <li class="oa-list-row oa-list-row--two-line"><div class="oa-list-row__content"><p class="oa-list-row__headline">Chrome on Mac</p><p class="oa-list-row__supporting">Signed in on 20 October 2026</p></div></li>
  <li class="oa-list-row oa-list-row--two-line"><div class="oa-list-row__content"><p class="oa-list-row__headline">Firefox on Linux</p><p class="oa-list-row__supporting">Signed in on 12 October 2026</p></div></li>
</ul>
<div class="oa-pagination oa-pagination--more">
  <button class="oa-btn oa-btn--outlined" type="button" aria-controls="signed-in-devices">Show 1 more</button>
</div>

Tailwind CSS v4

<nav aria-label="Pagination" class="flex flex-wrap items-center justify-between gap-x-4 gap-y-2">
  <p class="m-0 text-body-md text-on-surface-variant">Showing 1–25 of 48</p>
  <div class="flex items-center gap-2">
    <span aria-disabled="true" class="inline-flex size-12 flex-none items-center justify-center rounded-full border border-outline-variant text-outline">
      <span class="oa-icon oa-icon--mirror" aria-hidden="true" translate="no">chevron_left</span><span class="sr-only">Previous page</span>
    </span>
    <span class="min-w-24 text-center text-body-md font-medium text-on-surface">Page 1 of 2</span>
    <a href="?page=2" aria-label="Next page" class="relative isolate inline-flex size-12 flex-none items-center justify-center rounded-full border border-outline text-on-surface-variant before:absolute before:-inset-px before:-z-1 before:rounded-[inherit] before:bg-current before:opacity-0 before:transition-opacity before:duration-short-3 before:ease-standard hover:before:opacity-(--opacity-state-hover) active:before:opacity-(--opacity-state-pressed) active:before:transition-none">
      <span class="oa-icon oa-icon--mirror" aria-hidden="true" translate="no">chevron_right</span>
    </a>
  </div>
</nav>

"Show more": the outlined md button recipe of button, in <div class="flex justify-start"> after the list.

React

Prop Type Default Description
page number — The current page, from 1.
pageSize number — Rows per page (Global ID's directory: 25).
total number — All rows.
href (page: number) => string — The URL of a page; omit it and pass onPage for a client-side table.
onPage (page: number) => void — Client-side paging.
labels { nav, showing, page, previous, next } English strings Localized strings with ICU placeholders.
<Pagination page={1} pageSize={25} total={48} href={(page) => `/admin/people?page=${page}`} />

<ShowMore count={rest.length} controls="signed-in-devices" onShow={appendAndFocusFirstNew} />