Basic Spinners - Tailwind Component
Spinners can be used to show the loading state in your projects, it is made with Tailwind CSS.
spinner
Loading component...
26 lines
<div class="flex items-center justify-center min-h-screen bg-white">
<div class="flex flex-col">
<div class="flex space-x-24">
<div class="flex flex-col">
<div class="flex flex-row space-x-4">
<div class="w-12 h-12 rounded-full animate-spin
border-4 border-solid border-blue-500 border-t-transparent">
</div>
<div class="w-12 h-12 rounded-full animate-spin
border-4 border-dashed border-yellow-500 border-t-transparent"></div>
<div class="w-12 h-12 rounded-full animate-spin
border-4 border-solid border-green-500 border-t-transparent shadow-md"></div>
<div
class="relative w-12 h-12 animate-spin rounded-full bg-gradient-to-r from-purple-400 via-blue-500 to-red-400 ">
<div
class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 w-8 h-8 bg-gray-200 rounded-full border-2 border-white">
</div>
</div>
<div class="flex justify-center items-center h-full">
<img class="h-12 w-12" src="https://icons8.com/preloaders/preloaders/1488/Iphone-spinner-2.gif" alt="">
</div>
</div>
</div>
</div>
</div>
</div>