Pagination Preview
A component for splitting and navigating through content across multiple pages.
Example
Rows per page
Page 1 of 100
Anatomy
Usage
Pagination.Composed Props
| Prop | Type | Default |
|---|---|---|
pageIndex* | number | — |
onPageIndexChange* | function | — |
pageSize | number | — |
onPageSizeChange | function | — |
pageCount* | number | — |
children | ReactNode | — |
className | string | — |
padding | number | — |
itemsLabel | string | "Items" |
hidePageCount | boolean | — |
hideFirstLast | boolean | — |
hidePrevNext | boolean | — |
Pagination.Root Props
| Prop | Type | Default |
|---|---|---|
pageIndex* | number | — |
onPageIndexChange* | function | — |
pageSize | number | — |
onPageSizeChange | function | — |
pageCount* | number | — |
children | ReactNode | — |
Pagination.FirstPageButton Props
| Prop | Type | Default |
|---|
Pagination.LastPageButton Props
| Prop | Type | Default |
|---|
Pagination.NextPageButton Props
| Prop | Type | Default |
|---|
Pagination.PageButton Props
| Prop | Type | Default |
|---|
Pagination.PageSizeSelect Props
| Prop | Type | Default |
|---|---|---|
options | number[] | "[5, 10, 20, 30, 40, 50]" |
Pagination.PageWindow Props
| Prop | Type | Default |
|---|---|---|
padding* | number | — |
Pagination.PreviousPageButton Props
| Prop | Type | Default |
|---|