Error Messages Component
A responsive error messages component designed with a 3D style and monochromatic color scheme. Suitable for a portfolio, featuring interactive elements for user engagement.
HTML Code
<div class="max-w-md mx-auto p-6 bg-gray-100 dark:bg-gray-800 rounded-lg shadow-lg transform transition-transform hover:scale-105">
<h2 class="text-xl font-bold text-gray-800 dark:text-gray-200 mb-4">Error Messages</h2>
<div class="bg-white dark:bg-gray-700 p-4 rounded-lg shadow-md mb-4">
<div class="flex items-center mb-2">
<img src="https://randomuser.me/api/portraits/men/1.jpg" alt="Avatar" class="w-10 h-10 rounded-full mr-2">
<div class="text-gray-800 dark:text-gray-200">
<span class="font-semibold">John Doe</span>
<span class="text-gray-500 dark:text-gray-400"> - 2 hours ago</span>
</div>
</div>
<p class="text-gray-800 dark:text-gray-200">There was an error processing your request. Please try again later.</p>
</div>
<div class="bg-white dark:bg-gray-700 p-4 rounded-lg shadow-md mb-4">
<div class="flex items-center mb-2">
<img src="https://randomuser.me/api/portraits/women/2.jpg" alt="Avatar" class="w-10 h-10 rounded-full mr-2">
<div class="text-gray-800 dark:text-gray-200">
<span class="font-semibold">Jane Smith</span>
<span class="text-gray-500 dark:text-gray-400"> - 1 hour ago</span>
</div>
</div>
<p class="text-gray-800 dark:text-gray-200">Invalid input! Please check your data and try again.</p>
</div>
<button class="mt-4 bg-blue-500 hover:bg-blue-600 text-white font-semibold py-2 px-4 rounded shadow">Report Issue</button>
</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
Error Messages Component with 3D Design, Monochromatic color scheme, Moderate complexity for Dashboard purpose, responsive design with dark theme support.
Error Message Component
Refined error message component using Skeuomorphism, Triadic color scheme, and a simple layout. Crafted with Tailwind CSS for responsiveness and dark mode support. No JavaScript.