Success Messages Component
A minimalist success message component with responsive effects, supporting both light and dark themes using Tailwind CSS.
HTML Code
<div class="max-w-lg mx-auto bg-white dark:bg-gray-800 rounded-lg shadow-md overflow-hidden">
<div class="flex items-center p-4">
<img class="w-12 h-12 rounded-full mr-4" src="https://randomuser.me/api/portraits/men/45.jpg" alt="User Avatar">
<div>
<h2 class="text-lg font-semibold text-gray-800 dark:text-gray-200">Success!</h2>
<p class="text-gray-600 dark:text-gray-400">Your action was completed successfully. Thank you for your participation!</p>
</div>
</div>
<div class="p-4 border-t border-gray-200 dark:border-gray-700">
<img class="w-full h-32 object-cover rounded-lg" src="https://picsum.photos/400/200?random=1" alt="Success Image">
</div>
<div class="p-4">
<button class="w-full bg-green-500 hover:bg-green-600 text-white font-semibold py-2 px-4 rounded focus:outline-none focus:ring focus:ring-green-300 dark:focus:ring-green-600">Okay</button>
</div>
</div>
Related Components
IndustrialVibrantGovernmentSuccessMessage
A success message component designed for government/public services with an industrial aesthetic, vibrant colors, and dark mode support. It features a raw, utilitarian look with high-saturation accents.
Success Messages Component 17
A bold and raw success messages component designed with Tailwind CSS featuring responsive effects and dark theme support.
Success Messages Component
A simple, artistic success message component with a sepia/brown color scheme, suitable for cryptocurrency/blockchain applications. Features a soft, watercolor-inspired design, full responsiveness, and dark mode support.