--- layout: documentation doc-tab: components doc-subtab: pagination --- {% include subnav-components.html %}

Pagination

A responsive, usable, and flexible pagination


The pagination component consists of several elements:

  • pagination-previous and pagination-next for incremental navigation
  • pagination-list which displays page items:
    • pagination-link for the page numbers
    • pagination-ellipsis for range separators

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

{% capture pagination_example %} {% endcapture %}
{{pagination_example}}
{% highlight html %} {{pagination_example}} {% endhighlight %}

You can disable some links if they are not active, or change the amount of page numbers available.

{% capture pagination_options_example %} {% endcapture %}
{{pagination_options_example}}
{% highlight html %} {{pagination_options_example}} {% endhighlight %}

By default, the list is located on the left, and the previous/next buttons on the right. But you can change the order of these elements by using the is-centered and is-right modifiers.

{% capture pagination_centered_example %} {% endcapture %}
{{pagination_centered_example}}
{% highlight html %} {{pagination_centered_example}} {% endhighlight %} {% capture pagination_right_example %} {% endcapture %}
{{pagination_right_example}}
{% highlight html %} {{pagination_right_example}} {% endhighlight %}

Sizes New!

The pagination comes in 3 additional sizes.
You only need to append the modifier is-small, is-medium, or is-large to the pagination component.

{% capture pagination_small_example %} {% endcapture %}
{{pagination_small_example}}
{% capture pagination_medium_example %} {% endcapture %}
{{pagination_medium_example}}
{% capture pagination_large_example %} {% endcapture %}
{{pagination_large_example}}