{{-- Livewire's paginator, drawn in M3. The package puts this in front of Livewire's own `livewire::tailwind` (config `livewire-material.pagination`), whose gray and blue classes do not exist in an M3 theme. The wiring is Livewire's, unchanged: `previousPage`, `nextPage` and `gotoPage` with the page name, and the scroll back to the top of whatever `scrollTo` names. Page numbers are 40px icon-button targets; the current one is the selected state, secondary-container, never the action colour — it is where you are, not what to do next. On a phone the numbers give way to "Page 2 of 7". --}} @php if (! isset($scrollTo)) { $scrollTo = 'body'; } $scrollIntoViewJsSnippet = ($scrollTo !== false) ? << @if ($paginator->hasPages()) @endif