Componenti Notifiche di tipo avviso popup Componente Notifiche di tipo avviso popup

Componente Notifiche di tipo avviso popup

Un componente di notifiche di tipo avviso popup in stile brutalista che utilizza Tailwind CSS, progettato per un portfolio che mette in mostra lavori o prodotti. Il design incorpora una combinazione di colori analoga e supporta la modalità oscura con un'interfaccia complessa.

Anteprima

Codice HTML

<div class="fixed top-4 right-4 z-50 space-y-4">
    <div class="bg-gray-800 text-white p-4 rounded-lg shadow-lg dark:bg-gray-900 border border-red-500">
        <div class="flex items-center">
            <img class="w-10 h-10 rounded-full mr-3" src="https://randomuser.me/api/portraits/men/10.jpg" alt="Avatar">
            <div class="flex-1">
                <h2 class="font-bold text-lg">Notification Title</h2>
                <p class="text-sm">This is a sample toast notification message that showcases important updates or alerts.</p>
            </div>
            <button class="ml-2 p-2 text-sm text-red-500 hover:bg-red-400 rounded-full transition duration-200 ease-in-out">Close</button>
        </div>
    </div>
    <div class="bg-gray-800 text-white p-4 rounded-lg shadow-lg dark:bg-gray-900 border border-yellow-500">
        <div class="flex items-center">
            <img class="w-10 h-10 rounded-full mr-3" src="https://randomuser.me/api/portraits/women/10.jpg" alt="Avatar">
            <div class="flex-1">
                <h2 class="font-bold text-lg">Another Notification</h2>
                <p class="text-sm">This is another toast notification that provides insights or next steps for users.</p>
            </div>
            <button class="ml-2 p-2 text-sm text-yellow-500 hover:bg-yellow-400 rounded-full transition duration-200 ease-in-out">Close</button>
        </div>
    </div>
    <div class="bg-gray-800 text-white p-4 rounded-lg shadow-lg dark:bg-gray-900 border border-blue-500">
        <div class="flex items-center">
            <img class="w-10 h-10 rounded-full mr-3" src="https://randomuser.me/api/portraits/men/20.jpg" alt="Avatar">
            <div class="flex-1">
                <h2 class="font-bold text-lg">Success Notification</h2>
                <p class="text-sm">Your latest action was successful. Keep up the great work!</p>
            </div>
            <button class="ml-2 p-2 text-sm text-blue-500 hover:bg-blue-400 rounded-full transition duration-200 ease-in-out">Close</button>
        </div>
    </div>
</div>

Componenti correlati

Retro_Vintage_Toast_Notifications_Component

Un semplice componente di notifica di tipo avviso popup a tema retrò/vintage per strumenti CRM/aziendali, con neutri caldi, design reattivo e supporto per la modalità scura.

Aperto

Notifiche di tipo avviso popup

Componente Notifiche di tipo avviso popup con stile Glassmorphism, effetti reattivi e supporto per temi scuri utilizzando Tailwind CSS

Aperto

Notifiche di tipo avviso popup

Componente di notifiche toast dal design minimalista/piatto con combinazione di colori analoga, complessità semplice, per scopi di portfolio. Reattivo con supporto per il tema scuro.

Aperto