Error Messages Component
This component displays error messages with engaging animations that respond to user actions. It includes support for dark mode and features responsive effects using Tailwind CSS.
HTML Code
<div class="flex flex-col items-center justify-center min-h-screen bg-gray-100 dark:bg-gray-800">
<div class="max-w-md w-full bg-white dark:bg-gray-900 shadow-lg rounded-lg p-6 transition duration-300 hover:shadow-xl transform hover:-translate-y-1">
<div class="flex items-center mb-4">
<img class="w-12 h-12 rounded-full mr-4" src="https://randomuser.me/api/portraits/men/10.jpg" alt="Avatar">
<h2 class="text-lg font-semibold text-gray-800 dark:text-gray-200">Error Title</h2>
</div>
<p class="text-gray-600 dark:text-gray-400 mb-4">
This is an error message that explains what went wrong. Please check your input and try again.
</p>
<div class="flex items-center justify-between mt-4">
<button class="px-4 py-2 bg-blue-500 text-white font-semibold rounded-md hover:bg-blue-600 transition duration-200 dark:bg-blue-700 dark:hover:bg-blue-800">Retry</button>
<button class="px-4 py-2 bg-red-500 text-white font-semibold rounded-md hover:bg-red-600 transition duration-200 dark:bg-red-700 dark:hover:bg-red-800">Cancel</button>
</div>
<img class="mt-4 w-full h-32 object-cover rounded" src="https://picsum.photos/400/200?random=1" alt="Error Illustration">
</div>
</div>
Related Components
Error Messages Component
Skeuomorphism triadic color scheme complex E-commerce error messages component with responsive design and dark mode support.
Error Messages Component
A responsive error messages component featuring engaging animations for user interactions and supporting dark theme using Tailwind CSS.
Error Messages Component
Retro/Vintage Error Messages Component with a pastel color scheme, complex layout, responsive design, and dark theme support using Tailwind CSS.