Pagination

Simple pagination, useful for search results.

<nav class="pagination is-centered" role="navigation">
    <ul class="pagination-list">
        <li><strong>Page:</strong> </li>
        <li><a class="pagination-link">1</a></li>
        <li><span class="pagination-ellipsis">&hellip;</span></li>
        <li><a class="pagination-link">45</a></li>
        <li><a class="pagination-link is-current">46</a></li>
        <li><a class="pagination-link">47</a></li>
        <li><span class="pagination-ellipsis">&hellip;</span></li>
        <li><a class="pagination-link">86</a></li>
    </ul>
</nav>
<br>
<nav class="pagination is-centered" role="navigation">
    <ul class="pagination-list">
        <li><strong>Filter results:</strong> </li>
        <li><a class="pagination-link">All</a></li>
        <li><a class="pagination-link">People</a></li>
        <li><a class="pagination-link is-current">Centres, Institutes and Groups</a></li>
        <li><a class="pagination-link">Publications</a></li>
        <li><a class="pagination-link">News</a></li>
        <li><a class="pagination-link">Events</a></li>
        <li><a class="pagination-link">Courses</a></li>
    </ul>
</nav>

Usage

The pagination component consists of several elements:

  • pagination-previous and pagination-next for incremental navigation
  • pagination-listwhich displays page items:
    • pagination-link for the page numbers
    • pagination-ellipsis for range separators
  • Use the .is-centered class to centre the list

All elements are optional so you can compose your pagination as you wish.

For more information, read the official Bulma documentation for pagination.

Accessibility

Use aria-label attributes on next and previous links.