Alert Messages Component
A responsive alert messages component designed with glassmorphism effect for e-commerce purposes. It features a simple layout with a monochromatic color scheme and dark mode support using Tailwind CSS.
HTML Code
<div class="flex flex-col items-center justify-center h-screen bg-gray-900 dark:bg-gray-800">
<div class="bg-white dark:bg-gray-700 backdrop-blur-md rounded-xl border border-gray-300 dark:border-gray-600 shadow-lg p-6 max-w-md w-full">
<h2 class="text-xl text-gray-800 dark:text-gray-200 mb-4">Alert Message</h2>
<p class="text-gray-600 dark:text-gray-400 mb-4">
Your order has been placed successfully! You will receive a confirmation email shortly.
</p>
<div class="flex items-center">
<img src="https://randomuser.me/api/portraits/men/32.jpg" alt="User Avatar" class="w-10 h-10 rounded-full mr-3">
<div class="text-sm">
<p class="text-gray-800 dark:text-gray-200">John Doe</p>
<p class="text-gray-500 dark:text-gray-400">Just now</p>
</div>
</div>
<div class="mt-4">
<img src="https://picsum.photos/200/100?random=1" alt="Product Image" class="rounded-lg shadow-md">
</div>
</div>
</div>
Related Components
PlayfulForestAlert
A playful and cheerful alert messages component designed with a forest/green palette, rounded elements, and friendly aesthetics, suitable for business/corporate websites. It's responsive and includes dark mode support.
Marketplace Alert Messages Component
A Material Design-inspired alert messages component with autumn colors, suitable for marketplace platforms. Features various alert types (success, warning, error, info) with dismissible options and dark mode support.
Alert Messages Component
A simple, responsive, grayscale alert message component for e-commerce sites, with dark mode support.