Pagination

To indicate a series of related content exists across multiple pages. Read the Official Bootstrap Documentation for a full list of instructions and other options.


Basic example

Pagination is built with list HTML elements so screen readers can announce the number of available links.

<nav aria-label="Page navigation example">
  <ul class="pagination">
    <li class="page-item"><a class="page-link" href="#"><i data-feather="chevron-left"></i></a></li>
    <li class="page-item active"><a class="page-link" href="#">1</a></li>
    <li class="page-item disabled"><a class="page-link" href="#">2</a></li>
    <li class="page-item"><a class="page-link" href="#">3</a></li>
    <li class="page-item"><a class="page-link" href="#"><i data-feather="chevron-right"></i></a></li>
  </ul>
</nav>

Sizing

Add .pagination-lg or .pagination-sm for additional sizes.

  • 1 (current)
  • 2
  • 3
<ul class="pagination pagination-lg">
  ...
</ul>
  • 1 (current)
  • 2
  • 3
<ul class="pagination pagination-sm">
  ...
</ul>

Alignment

Change the alignment of pagination components with flexbox utilities.

<ul class="pagination justify-content-center">
  ...
</ul>
<ul class="pagination justify-content-end">
  ...
</ul>

Sperated

Add calss .pagination-separated.

<ul class="pagination pagination-separated">
  ...
</ul>

Rounded

Add calss .pagination-rounded.

<ul class="pagination pagination-rounded">
  ...
</ul>