Paginations

You're browsing the documentation for an old version of MoonShine. Consider upgrading your project to MoonShine 2.x.

# Basics

The moonshine::pagination component allows you to create a stylized page-by-page pagination.
To do this, add a component to the pagination blade view.

<x-moonshine::pagination
:paginator="$paginator"
:elements="$elements"
/>

# Simple pagination

The simple parameter with the value TRUE allows you to display the pagination in a simplified way.

<x-moonshine::pagination
:paginator="$paginator"
:elements="$elements"
:simple="true"
/>