Componente Pulsanti Mi piace/Reazione
Componenti codificati in HTML con Tailwind CSS, con un design Brutalismo, combinazione di colori dei toni della Terra e complessità moderata, adatto per l'e-commerce. Include il design reattivo e il supporto per la modalità scura.
Codice HTML
<div class="flex flex-col items-center p-4 bg-stone-200 dark:bg-stone-800 font-mono">
<!-- Like Button -->
<button class="flex items-center justify-center px-6 py-3 mb-4 text-lg font-bold text-stone-900 uppercase bg-stone-400 border-t-4 border-l-4 border-b-0 border-r-0 border-stone-900 dark:text-stone-100 dark:bg-stone-700 dark:border-stone-100">
<svg class="w-6 h-6 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14 10h4v6m0 0l-4 4m4-4L8 4m7 10l-2 2m0 0l-2-2m2 2l2 2"></path></svg>
Like (120)
</button>
<!-- Reactions -->
<div class="flex space-x-4">
<button class="p-3 text-xl bg-stone-500 border-t-2 border-l-2 border-b-0 border-r-0 border-stone-900 dark:bg-stone-600 dark:border-stone-100">👍 50</button>
<button class="p-3 text-xl bg-stone-500 border-t-2 border-l-2 border-b-0 border-r-0 border-stone-900 dark:bg-stone-600 dark:border-stone-100">😂 30</button>
<button class="p-3 text-xl bg-stone-500 border-t-2 border-l-2 border-b-0 border-r-0 border-stone-900 dark:bg-stone-600 dark:border-stone-100">😢 10</button>
<button class="p-3 text-xl bg-stone-500 border-t-2 border-l-2 border-b-0 border-r-0 border-stone-900 dark:bg-stone-600 dark:border-stone-100">😍 25</button>
</div>
</div>
Componenti correlati
Bottoni di reazione scheumorfi
Una serie di pulsanti Mi piace e di reazione con uno stile di design Skeuomorphic, che supporta layout reattivi e modalità scura. I pulsanti sono implementati esclusivamente con HTML e Tailwind CSS, senza JavaScript. La modalità oscura viene gestita tramite classi CSS. Le immagini segnaposto vengono utilizzate per gli avatar.
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.