Pagination
A comprehensive pagination component that provides intuitive navigation through large datasets. The component offers flexible configuration options and consistent styling across different use cases.
Examples
(5)Properties
(40)Playground
Basic
Provide
current, total, and an onChange handler to keep numbered pagination in sync with surrounding state.Variants
Switch the
variant prop between default, outline, and subtle to align pagination with the surrounding surface treatment.Sizes
Use the
size prop (xs through 3xl) to match pagination density to its container without changing behavior.Advanced
Combine
showFirst, showPrevNext, siblings, and boundaries to reveal the right amount of context for long result sets.Total & size changer
Set
showTotal with totalItems to render an "X-Y of N" summary, and showSizeChanger with pageSizeOptions / onPageSizeChange to let users change the rows-per-page. This is the same footer the DataTable renders internally.Scan to open this page on your phonereact-ui-library.com/components/Pagination
</>
react-ui-library
100+ accessible, themeable components that work seamlessly across iOS, Android, and Web.
A Platform Blocks product.
Quick Links
Resources