Pagination
Each example below is a real component instance — flip the theme toggle to see how it adapts.
Default#
Loading…
Few Pages#
Loading…
Many Pages#
Loading…
Props#
| Prop | Type | Default | Description |
|---|---|---|---|
| page * | number | — | Currently selected page (1-indexed). |
| total * | number | — | Total number of pages. |
| onPageChange * | (page: number) => void | — | Called with the new page when the user clicks a page or arrow. |
| siblings | number | undefined | 1 | How many sibling pages to show on each side of the current page. Default 1. |