Spinner
Basic #
Loading...
<div class="spinner" role="status">
<span class="sr-only">Loading...</span>
</div>
Colors #
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
<div class="space-x-1">
<div class="spinner text-primary" role="status">
<span class="sr-only">Loading...</span>
</div>
<div class="spinner text-gray-500" role="status">
<span class="sr-only">Loading...</span>
</div>
<div class="spinner text-red-700" role="status">
<span class="sr-only">Loading...</span>
</div>
<div class="spinner text-green-700" role="status">
<span class="sr-only">Loading...</span>
</div>
<div class="spinner text-yellow-700" role="status">
<span class="sr-only">Loading...</span>
</div>
<div class="spinner text-gray-200" role="status">
<span class="sr-only">Loading...</span>
</div>
<div class="spinner text-gray-900" role="status">
<span class="sr-only">Loading...</span>
</div>
</div>
Sizes #
Loading...
Loading...
<div class="space-x-2">
<div class="spinner w-4 h-4" role="status">
<span class="sr-only">Loading...</span>
</div>
<div class="spinner w-12 h-12" role="status">
<span class="sr-only">Loading...</span>
</div>
</div>
Spinner on Button #
<button class="btn btn-primary btn-loading">
<span class="spinner w-4 h-4" role="status" aria-hidden="true"></span>
<span class="sr-only">Loading...</span>
</button>
<button class="btn btn-outline-dark btn-loading">
<span class="spinner w-4 h-4" role="status" aria-hidden="true"></span>
<span class="pl-1">Loading...</span>
</button>