The Pagination component is a navigational element that divides content into discrete pages, allowing users to navigate through large sets of data or content efficiently. It provides controls to move between pages, such as next, previous, and specific page numbers. This component is essential for enhancing user experience by making large amounts of information more manageable and accessible.
When your range display is above your pageCount, all the pages are shown.
Change range with rangeDisplay, by default it is 5.
You can optionally display First and Last buttons by setting showEdgeControls to true. These buttons allow users to quickly jump to the first or last page, which is especially useful for large datasets with many pages.
The Pagination component supports two different sizes: md and lg (default). Use the size prop to control the overall size of the pagination controls.
The Pagination component supports a condensed prop to only display the range of page instead of buttons.
You can customize the text displayed on all navigation buttons using the navigationTexts prop.