Error Messages Component
A glassmorphism styled error messages component for a dashboard, featuring a frosted glass effect, complementary colors, and a complex interactive design suitable for data visualization and control panels.
HTML Code
<div class="flex flex-col items-center justify-center min-h-screen bg-gray-900 p-6 dark:bg-gray-800">
<div class="bg-white dark:bg-gray-700 backdrop-blur-md bg-opacity-30 border border-gray-300 dark:border-gray-600 rounded-lg p-6 shadow-lg w-full max-w-md">
<h2 class="text-2xl font-bold text-gray-800 dark:text-white mb-4">Error Messages</h2>
<div class="bg-red-500 text-white p-4 rounded-lg mb-4 flex items-center">
<div class="flex-shrink-0">
<img class="w-10 h-10 rounded-full" src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar">
</div>
<div class="ml-3">
<p class="font-semibold">Network Error:</p>
<p>There was a problem connecting to the server. Please try again later.</p>
</div>
</div>
<div class="bg-yellow-500 text-white p-4 rounded-lg mb-4 flex items-center">
<div class="flex-shrink-0">
<img class="w-10 h-10 rounded-full" src="https://randomuser.me/api/portraits/women/2.jpg" alt="User Avatar">
</div>
<div class="ml-3">
<p class="font-semibold">Warning:</p>
<p>Your session will expire in 5 minutes.</p>
</div>
</div>
<div class="bg-green-500 text-white p-4 rounded-lg flex items-center">
<div class="flex-shrink-0">
<img class="w-10 h-10 rounded-full" src="https://randomuser.me/api/portraits/men/3.jpg" alt="User Avatar">
</div>
<div class="ml-3">
<p class="font-semibold">Success:</p>
<p>Your changes have been saved successfully!</p>
</div>
</div>
</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 designed for social networking interfaces, utilizing a dark mode and grayscale color scheme with Tailwind CSS.
Error Messages Component
A glassmorphism style error messages component with a dark theme for business use. It utilizes Tailwind CSS for styling with responsive design and interactive elements.