Componenti Pulsanti Mi piace/Reazione Componente Pulsanti Mi piace/Reazione

Componente Pulsanti Mi piace/Reazione

Un componente web che presenta pulsanti Mi piace e Reazione progettati in uno stile scheumorfico, con effetti reattivi e supporto per temi scuri utilizzando Tailwind CSS.

Anteprima

Codice HTML

<div class="flex flex-col items-center justify-center p-4 bg-white dark:bg-gray-800 rounded-lg shadow-lg max-w-xs mx-auto">
    <div class="flex items-center justify-between w-full">
        <img src="https://picsum.photos/50/50?random=1" alt="Avatar" class="rounded-full border-2 border-gray-300 dark:border-gray-600">
        <div class="flex space-x-2">
            <button class="flex items-center bg-gradient-to-br from-blue-400 to-blue-600 text-white py-2 px-4 rounded-lg shadow-md transform hover:scale-105 hover:shadow-xl transition-all duration-300">
                <span>👍</span> Like
            </button>
            <button class="flex items-center bg-gradient-to-br from-yellow-400 to-yellow-600 text-white py-2 px-4 rounded-lg shadow-md transform hover:scale-105 hover:shadow-xl transition-all duration-300">
                <span>❤️</span> Love
            </button>
            <button class="flex items-center bg-gradient-to-br from-red-400 to-red-600 text-white py-2 px-4 rounded-lg shadow-md transform hover:scale-105 hover:shadow-xl transition-all duration-300">
                <span>😂</span> Haha
            </button>
            <button class="flex items-center bg-gradient-to-br from-green-400 to-green-600 text-white py-2 px-4 rounded-lg shadow-md transform hover:scale-105 hover:shadow-xl transition-all duration-300">
                <span>😮</span> Wow
            </button>
        </div>
    </div>
    <div class="mt-4 text-center text-gray-700 dark:text-gray-300">
        <p class="text-sm">Tap your reaction!</p>
    </div>
</div>

Componenti correlati

Componente Pulsanti Mi piace/Reazione

Un componente Like/Reaction Buttons con stile di design Glassmorphism, con effetti di vetro smerigliato, design reattivo e supporto per temi scuri utilizzando Tailwind CSS.

Aperto

Pulsanti Mi piace/Reazione

Componente Pulsanti Mi piace/Reazione con design brutale, toni della terra, interazioni complesse, reattivo e supporto per temi scuri. Niente JS, HTML puro con Tailwind.

Aperto

Componente Pulsanti Mi piace/Reazione

Un componente retrò / vintage Pulsanti Mi piace / Reazione progettato per i siti Web aziendali, caratterizzato da toni della terra e design reattivo con supporto per la modalità oscura.

Aperto