Pagination

Pagination

Components

A navigation component for chunking large datasets across multiple indexed pages.

Pagination Bar

Enables users to navigate through segmented records, catalogs, and search queries with clean boundary indicators and fluid active indicator pill animations.

Props Reference

PropTypeDefaultDescription
totalPagesnumber8Maximum count of accessible pages
initialPagenumber1Starting active page index
onPageChange(page: number) => voidundefinedCallback invoked with the newly selected page number

Keyboard & Screen Reader Accessibility

  • Landmark Role: Rendered within <nav aria-label="Pagination"> to support assistive screen navigation.
  • Active Page Semantics: Incorporates aria-current="page" on the currently selected numeric button.
  • Boundary Disablement: Previous and Next buttons automatically receive disabled and visual opacity indicators when at min/max extremes.