Skip to main content

Introduction

The pagination component can be used in a Livewire Blade view only. It can render a list of paginated links:
Alternatively, you can use simple pagination or cursor pagination, which will just render a “previous” and “next” button:

Allowing the user to customize the number of items per page

You can allow the user to customize the number of items per page by passing an array of options to the page-options attribute. You must also define a Livewire property where the user’s selection will be stored:
Extreme links are the first and last page links. You can add them by passing the extreme-links attribute to the component: