<% if pagy.next || pagy.page > 1 %> <%= svg_icon('loader', class: 'w-6 h-6 animate-spin') %> <% end %>