Basics
The moonshine::pagination
component allows you to create stylized pagination across pages.To do this, add a component to the blade view of the pagination.
<x-moonshine::pagination:paginator="$paginator":elements="$elements"/>
<x-moonshine::pagination:paginator="$paginator":elements="$elements"/>
Simplified pagination
The simple
parameter with the value TRUE
allows you to display pagination in a simplified form.
<x-moonshine::pagination:paginator="$paginator":elements="$elements":simple="true"/>
<x-moonshine::pagination:paginator="$paginator":elements="$elements":simple="true"/>