Components Like/Reaction Buttons Like/Reaction Buttons Component

Like/Reaction Buttons Component

A web component that features Like and Reaction buttons designed in a skeuomorphic style, with responsive effects and dark theme support using Tailwind CSS.

Preview

HTML Code

<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>

Related Components

Like/Reaction Buttons Component

A responsive Like/Reaction buttons component designed with microinteractions in mind, using a monochromatic color scheme, suitable for blog and content consumption, with support for dark themes.

Open

Like/Reaction Buttons Component

A web component featuring Like and Reaction buttons with microinteractions and support for dark theme using Tailwind CSS.

Open

Like/Reaction Buttons Component

A complex Like/Reaction Buttons Component with microinteractions, analogous color scheme, responsive design, and dark theme support, suitable for a dashboard. Uses Tailwind CSS and includes multiple interactive elements with engaging animations.

Open