Error Messages Component
A minimalist error messages component designed using Tailwind CSS, featuring responsive effects and dark theme support.
HTML Code
<div class="max-w-md mx-auto mt-8 p-4 bg-white shadow-md rounded-lg dark:bg-gray-800">
<div class="flex items-center mb-4">
<img src="https://randomuser.me/api/portraits/men/1.jpg" alt="Avatar" class="w-12 h-12 rounded-full">
<h2 class="ml-3 text-xl font-semibold text-gray-900 dark:text-white">Error Title</h2>
</div>
<p class="text-gray-700 dark:text-gray-300">This is an error message that summarizes the issue. Please check the details and try again.</p>
<div class="mt-4">
<img src="https://picsum.photos/400/200" alt="Error Illustration" class="w-full h-auto rounded-md">
</div>
<div class="mt-4 flex justify-between">
<button class="px-4 py-2 bg-blue-500 text-white rounded-md hover:bg-blue-600 dark:bg-blue-700 dark:hover:bg-blue-600">
Retry
</button>
<button class="px-4 py-2 bg-red-500 text-white rounded-md hover:bg-red-600 dark:bg-red-600 dark:hover:bg-red-700">
Dismiss
</button>
</div>
</div>
Related Components
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.
Error Messages Component
A responsive error messages component using Material Design principles, with a triadic color scheme and dark mode support, tailored for a portfolio.
Error Messages Component
A responsive error messages component designed for social networking interfaces, utilizing a dark mode and grayscale color scheme with Tailwind CSS.