API and Development
Pagination is a controlled, table-agnostic pagination primitive. Pass page (1-indexed) and
onPageChange; choose type to switch between PaginationType.Simple (default — Previous/Next, supports
an unknown pageCount) and PaginationType.Numbered (chevrons plus numbered page buttons, requires a
known pageCount).
Name | Type | Default | Description |
|---|---|---|---|
|
| — | Fired with the 1-indexed target page. Not fired when the target equals the current page. |
|
| — | Current page, **1-indexed**. Clamped into range before rendering. |
|
| — | Additional CSS class name applied to the root |
|
|
| Hides the |
|
|
| Total number of pages. Pass |
|
| — | Ref forwarded to the root |
|
|
| Not applicable to |
|
|
| — |
Interactive examples and edge cases for this component are in Storybook.
Name | Type | Default | Description |
|---|---|---|---|
|
|
| Previous/Next buttons. Supports an unknown total page count. |
|
|
| Chevron controls plus numbered page buttons with ellipsis truncation. Requires a known pageCount. |