Skip to main content
Pagination
@coinbase/cds-web@9.28.0
Pagination is used to navigate through a list of items.
import { Pagination } from '@coinbase/cds-web/pagination/Pagination'
Related components

Basic Pagination​

A simple example showing basic pagination with 10 total pages.

Loading...

Pagination with First/Last Buttons​

Shows pagination with the optional First and Last page navigation buttons enabled.

Loading...

Custom First/Last Button Labels​

Demonstrates customizing the text labels for the first and last page buttons using firstPageButtonLabel and lastPageButtonLabel props.

Loading...

Pagination with Custom Counts​

Demonstrates using siblingCount and boundaryCount to adjust the number of pages displayed around the current page and at the boundaries, useful for larger page ranges.

Loading...

Controlled Pagination​

This example explicitly manages the current page state, which might be necessary if the page change triggers other actions like fetching data.

Loading...

Using the usePagination Hook​

This example shows how to use the headless usePagination hook to build a custom pagination interface. The hook provides the logic, and you render the UI.

Loading...

Customized Components​

This example demonstrates how to customize the appearance of pagination by providing custom components for page buttons, navigation buttons, and ellipsis.

Loading...

Pagination with Table​

This example demonstrates integrating the Pagination component with a Table, a common use case for pagination.

Loading...

Is this page useful?

Coinbase Design is an open-source, adaptable system of guidelines, components, and tools that aid the best practices of user interface design for crypto products.