Loaders Component
A Loaders Component designed in Material Design style with responsive effects and dark theme support using Tailwind CSS.
HTML Code
<div class="flex flex-col items-center justify-center space-y-8 p-8 bg-gray-100 dark:bg-gray-800 min-h-screen">
<!-- Circular Loader -->
<div class="flex items-center justify-center">
<div class="animate-spin rounded-full h-32 w-32 border-t-4 border-blue-500 border-solid dark:border-blue-300"></div>
</div>
<!-- Linear Loader -->
<div class="w-full max-w-lg">
<div class="h-2 bg-blue-500 rounded animate-pulse dark:bg-blue-300"></div>
</div>
<!-- Skeleton Loader -->
<div class="flex space-x-4">
<div class="h-12 w-12 bg-gray-200 dark:bg-gray-700 rounded-full animate-pulse"></div>
<div class="flex-1 space-y-4">
<div class="h-4 bg-gray-200 dark:bg-gray-700 rounded animate-pulse"></div>
<div class="h-4 bg-gray-200 dark:bg-gray-700 rounded animate-pulse"></div>
<div class="h-4 bg-gray-200 dark:bg-gray-700 rounded animate-pulse w-4/5"></div>
</div>
</div>
<!-- Image Loader -->
<div class="w-64 h-48 bg-gray-200 dark:bg-gray-700 rounded shadow-md animate-pulse">
<img src="https://picsum.photos/200/300" alt="Random Image" class="w-full h-full object-cover rounded" />
</div>
<!-- Avatar Loader -->
<div class="flex items-center space-x-4">
<div class="h-10 w-10 bg-gray-200 dark:bg-gray-700 rounded-full animate-pulse"></div>
<div class="flex-1 space-y-2">
<div class="h-4 bg-gray-200 dark:bg-gray-700 rounded animate-pulse"></div>
<div class="h-3 bg-gray-200 dark:bg-gray-700 rounded animate-pulse w-3/4"></div>
</div>
</div>
</div>
Related Components
Loaders Component
A Loaders Component designed in a Brutalist style with a focus on interactivity for business/corporate websites, featuring an analogous color scheme and responsive design with dark mode support. The design showcases different loader animations that capture the bold and raw aesthetic of brutalism.
Neumorphism Loader
A Neumorphism-styled loader component with responsive effects and dark theme support using Tailwind CSS. No JavaScript is needed. Uses subtle shadows to create an extruded effect from the background. Dark mode supported with CSS.