Alert Messages Component
A dark mode responsive alert messages component for showcasing notifications or messages in a portfolio, designed with earth tones and multiple interactive elements.
HTML Code
<div class="bg-gray-800 dark:bg-gray-900 p-5 rounded-lg shadow-lg">
<h2 class="text-lg font-bold text-earth-900 dark:text-earth-300">Alert Messages</h2>
<div class="my-4">
<div class="bg-earth-700 dark:bg-earth-600 p-4 rounded-lg flex items-start mb-4">
<img src="https://picsum.photos/50" alt="Avatar" class="rounded-full mr-3" />
<div>
<p class="text-earth-100 dark:text-earth-200">New message from your portfolio submission!</p>
<button class="mt-2 bg-earth-600 hover:bg-earth-500 text-earth-100 font-bold py-2 px-4 rounded">View</button>
</div>
</div>
<div class="bg-earth-700 dark:bg-earth-600 p-4 rounded-lg flex items-start mb-4">
<img src="https://picsum.photos/50" alt="Avatar" class="rounded-full mr-3" />
<div>
<p class="text-earth-100 dark:text-earth-200">Your work has been reviewed!</p>
<button class="mt-2 bg-earth-600 hover:bg-earth-500 text-earth-100 font-bold py-2 px-4 rounded">Reply</button>
</div>
</div>
<div class="bg-earth-700 dark:bg-earth-600 p-4 rounded-lg flex items-start">
<img src="https://picsum.photos/50" alt="Avatar" class="rounded-full mr-3" />
<div>
<p class="text-earth-100 dark:text-earth-200">Don't forget to update your portfolio!</p>
<button class="mt-2 bg-earth-600 hover:bg-earth-500 text-earth-100 font-bold py-2 px-4 rounded">Update</button>
</div>
</div>
</div>
</div>
Related Components
Alert Messages Component
Retro/Vintage Grayscale Alert Message Component for Social Media with dark mode support
Alert Messages Component
A brutalist-style alert messages component with a pastel color scheme, designed for business/corporate websites and responsive with dark theme support.
Alert Messages Component
This component is an alert message with a minimalist/flat design, earth tones color scheme, and a complex layout. It is designed for social media interfaces and is responsive with dark theme support. It uses Tailwind CSS for styling and includes multiple interactive elements.