{# This must be placed inside a 'position: relative' container. #}
{% load static %}
<div id="spinner"
        class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 z-10 htmx-indicator">
    <img
        src="{% static 'images/spinner-dark.svg' %}"
        alt="Loading..."
        class="h-6 w-6 rounded-full p-1 bg-gray-100 opacity-50">
</div>