Skip to content

Pagination

Page controls for moving through a bounded collection of results.

Examples

Pages

Overview

Compose previous, numbered, ellipsis, and next controls. Set active on the current page and disable unavailable directions.

tsx

import { Pagination, PaginationContent, PaginationLink } from "@standard-ui/react"

<Pagination>
  <PaginationContent>
    <PaginationLink active>1</PaginationLink>
  </PaginationContent>
</Pagination>

API

PartRole
PaginationNavigation landmark.
PaginationLinkPage button with current state.
PaginationEllipsisOmitted range indicator.

Guidelines

Do

  • Preserve the current page during navigation

Don't

  • Don't show every page in a large collection