Success Messages Component
A responsive success messages component designed in skeuomorphic style using Tailwind CSS, providing dark theme support.
HTML Code
<div class="max-w-md mx-auto bg-white dark:bg-gray-800 rounded-lg shadow-lg p-6 mt-10">
<div class="flex items-center mb-4">
<img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Avatar" class="w-12 h-12 rounded-full shadow-lg">
<div class="ml-4">
<h3 class="text-lg font-semibold text-gray-800 dark:text-gray-200">Success!</h3>
<p class="text-gray-600 dark:text-gray-400">Your action was successful. The data has been saved.</p>
</div>
</div>
<img src="https://picsum.photos/200/100?random=1" alt="Success Image" class="rounded-lg shadow-lg w-full">
<div class="mt-4">
<a href="#" class="inline-block bg-blue-500 text-white rounded-lg py-2 px-4 shadow hover:bg-blue-600 transition duration-200">View Details</a>
</div>
</div>
<!-- Dark Mode Styles -->
<style>
@media (prefers-color-scheme: dark) {
body {
background-color: #1a202c;
}
}
</style>
Related Components
SuccessMessagesComponent
A simple success message component for e-commerce, with a monochromatic Material Design aesthetic, responsive layout, and dark theme support.
Success Messages Component
Success Messages Component with Neumorphism design, responsive and dark theme support
Memphis Pastel Success Message
A simple, responsive success message component with a Memphis design aesthetic using pastel colors. Features playful geometric shapes and supports dark mode.