Skip to content
Core ElementsFree

Pagination

Page navigation with Prev/Next and numbered pages, or a simple "Page X of Y" mode.

Usage

Installation

bash
npm install @wunderui/react

Then import what you need:

tsx
import { Pagination, PaginationSimple } from "@wunderui/react"

Examples

6 pages

Previous and next around 6 page buttons — click a page.

5 pages

Previous and next around 5 page buttons — click a page.

4 pages

Previous and next around 4 page buttons — click a page.

3 pages

Previous and next around 3 page buttons — click a page.

2 pages

Previous and next around 2 page buttons — click a page.

In context

How the component is used inside real screens — the same compositions as the Usage section of the Figma page.

Pagination aligned right under a table with a result count.

InvoiceCustomerAmount
#4021WunderUI GmbH€24,800
#4020Halcyon Labs€3,200
#4019Pergola Foods€980
Showing 1–10 of 128

API Reference

PropTypeDefault
pagenumber—
pageCountnumber—
onPageChange(page: number) => void—