Pagination
Basic
The Pagination component helps you navigate through large sets of data by dividing them into pages. It’s easy to customize how many pages are visible, how many items are on each page, and more.
To get started, just set the total number of items, the modelValue for the current page, and the sizePage for items per page.
Current Page
This is the page you’re on right now. Use the modelValue prop to control which page is active.
Styling Mode
Choose how the pagination looks using the mode prop. You can go for an outlined, filled, or underlined style, depending on your design.
Items Per Page
Control how many items appear on each page by setting the sizePage prop.
Page Size Selector
Let users pick how many items they want to see per page from a dropdown. Use the sizesSelector prop to define the available options, and enable the selector with isPageSizeSelector.
Number of Visible Pages
If you have a lot of pages, you can control how many page numbers are shown in the navigation using visibleNumberPages.
Total Items
Set the total number of items you’re paginating through with the total prop. This determines how many pages will be created.
Informational Text
Turn on helpful text that shows which items are currently displayed out of the total by setting isInfoText to true.
Page Size Selector Toggle
Want to let users change how many items appear on a page? Turn this feature on with isPageSizeSelector.
Hide Navigation Buttons
If you want a cleaner look and don’t need the "Next" or "Previous" buttons, you can hide them by setting isHiddenNavigationButtons to true.
Custom Styles
If you need to tweak the look even further, you can add your own CSS classes using the class prop.