Error Messages Component 45
A Retro/Vintage styled error messages component featuring responsive effects and dark theme support, using Tailwind CSS.
HTML Code
<div class="max-w-md mx-auto bg-white dark:bg-gray-800 rounded-lg border border-gray-300 dark:border-gray-700 p-6 mt-5 shadow-lg">
<div class="flex items-center space-x-3">
<img class="w-12 h-12 rounded-full" src="https://randomuser.me/api/portraits/men/41.jpg" alt="User Avatar">
<div class="flex-1">
<h2 class="text-lg font-bold text-gray-800 dark:text-gray-200">Error Title</h2>
<p class="text-sm text-gray-600 dark:text-gray-400">This is a descriptive message about the error that occurred. Please take the necessary action to fix it. Thank you.</p>
</div>
</div>
<div class="mt-4 flex space-x-4">
<button class="bg-blue-500 text-white font-semibold py-2 px-4 rounded-lg hover:bg-blue-600 dark:bg-blue-700 dark:hover:bg-blue-600 transition duration-200">Retry</button>
<button class="bg-red-500 text-white font-semibold py-2 px-4 rounded-lg hover:bg-red-600 dark:bg-red-700 dark:hover:bg-red-600 transition duration-200">Cancel</button>
</div>
<div class="mt-4">
<img class="rounded-lg" src="https://picsum.photos/300/200?random=1" alt="Error Illustration">
</div>
</div>
Related Components
Error Messages Component
A minimalist error messages component designed using Tailwind CSS, featuring responsive effects and dark theme 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
An error message component with a skeuomorphic design, featuring a realistic alert icon and shadowed border. It supports responsive layouts and includes distinct styles for dark mode, ensuring readability and a visually appropriate appearance in different themes.