Advertisement
Google Ad Slot: content-top
Bootstrap 5 Pagination
Pagination in Bootstrap 5 is a navigation component that allows users to move between related content across multiple pages.
Basic Pagination:
The <ul> element with the pagination class. Then add the .page-item to each <li> element and a .page-link class to each link inside <li>
Disabled and Active States:
To indicate the current page or disable navigation options. .active class is used to "highlight" the current page..disabled class is used for un-clickable links:
Pagination Sizing:
You can use .pagination-lg or .pagination-sm to make the pagination larger or smaller:
Pagination Alignment:
To align pagination, use Bootstrap's flex utility classes: