Bootstrap 5 pagination provides navigation between multiple pages of content. This page covers 4 pagination patterns — basic, sizes, alignment and custom styled — each ready to use with tables and content lists.
Quick Setup
Pagination needs only Bootstrap 5 CSS:
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"/>
Key Classes Reference
| Class | What It Does |
|---|---|
.pagination | Required wrapper ul element |
.page-item | Each li in the pagination |
.page-link | The clickable link inside page-item |
.page-item.active | Highlights current page |
.page-item.disabled | Grays out prev/next at boundaries |
.pagination-sm | Small pagination size |
.pagination-lg | Large pagination size |
.justify-content-center | Centers pagination |
.justify-content-end | Right-aligns pagination |
1. Basic Bootstrap 5 Pagination
Standard pagination with numbered pages, prev and next buttons. Active and disabled states included.
2. Bootstrap 5 Pagination Sizes
Pagination in small, default and large sizes using pagination-sm and pagination-lg.
3. Bootstrap 5 Pagination Alignment
Paginate left, center or right using justify-content flex utilities.
4. Bootstrap 5 Custom Styled Pagination
Pagination with custom brand colors, rounded pills and info text.
Frequently Asked Questions
Need a Full Bootstrap 5 Admin Dashboard?
Get a complete Angular 21 + Bootstrap 5 dashboard with 50+ components — built by the same team behind BootstrapPlanet.
Browse Templates →Use code FIRST30 for 30% off your first purchase.