Components Success Messages Success Messages Component 17

Success Messages Component 17

A bold and raw success messages component designed with Tailwind CSS featuring responsive effects and dark theme support.

Preview

HTML Code

<div class="bg-white dark:bg-gray-800 p-6 rounded-lg shadow-lg max-w-sm mx-auto">
    <div class="flex items-center mb-4">
        <img src="https://picsum.photos/50/50" alt="Avatar" class="rounded-full border-2 border-green-500 mr-3">
        <h2 class="text-xl font-bold text-green-700 dark:text-green-400">Success!</h2>
    </div>
    <p class="text-gray-700 dark:text-gray-300">
        Your operation was completed successfully. Check your account for the latest updates!
    </p>
    <div class="flex justify-end mt-4">
        <button class="bg-green-500 hover:bg-green-600 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline">
            Close
        </button>
    </div>
</div>

<style>
    @media (prefers-color-scheme: dark) {
        .bg-white {
            background-color: #2D3748;
        }
        .text-gray-700 {
            color: #E2E8F0;
        }
    }
</style>

Related Components

Success Message Component - Material Design Complementary

A Material Design-styled success message component for a blog/content site, using a complementary color scheme. Responsive with dark theme support. No JavaScript.

Open

Success Messages Component

A responsive Success Messages Component designed for dark mode with a vibrant color scheme, ideal for showcasing work in a portfolio.

Open

Industrial_Success_Message

A simple, industrial-style success message component with warm neutrals, designed for CRM/Business Tools, featuring raw material aesthetics and full responsiveness with dark mode support.

Open