Components Product Cards Product Cards Component

Product Cards Component

A complex product card component featuring engaging microinteractions and a monochromatic color scheme. Designed for business websites, it is responsive and supports dark mode.

Preview

HTML Code

<div class="grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3 p-6">
    <div class="transform transition-transform duration-300 hover:scale-105 bg-gray-100 dark:bg-gray-800 rounded-lg shadow-lg overflow-hidden hover:shadow-xl">
        <img src="https://picsum.photos/300/200" alt="Product Image" class="w-full h-48 object-cover">
        <div class="p-4">
            <h2 class="text-lg font-semibold text-gray-800 dark:text-gray-200">Product Title</h2>
            <p class="text-gray-600 dark:text-gray-400 mt-2">Short description of the product that showcases its features and benefits.</p>
            <div class="flex items-center justify-between mt-4">
                <span class="text-xl font-bold text-gray-900 dark:text-gray-100">$99.99</span>
                <button class="bg-blue-500 text-white py-2 px-4 rounded-full transition duration-300 ease-in-out hover:bg-blue-600 dark:bg-blue-700 dark:hover:bg-blue-800 focus:outline-none focus:ring-2 focus:ring-blue-400 dark:focus:ring-blue-500">Buy Now</button>
            </div>
        </div>
    </div>
    <div class="transform transition-transform duration-300 hover:scale-105 bg-gray-100 dark:bg-gray-800 rounded-lg shadow-lg overflow-hidden hover:shadow-xl">
        <img src="https://picsum.photos/300/201" alt="Product Image" class="w-full h-48 object-cover">
        <div class="p-4">
            <h2 class="text-lg font-semibold text-gray-800 dark:text-gray-200">Product Title</h2>
            <p class="text-gray-600 dark:text-gray-400 mt-2">Short description of the product that showcases its features and benefits.</p>
            <div class="flex items-center justify-between mt-4">
                <span class="text-xl font-bold text-gray-900 dark:text-gray-100">$89.99</span>
                <button class="bg-blue-500 text-white py-2 px-4 rounded-full transition duration-300 ease-in-out hover:bg-blue-600 dark:bg-blue-700 dark:hover:bg-blue-800 focus:outline-none focus:ring-2 focus:ring-blue-400 dark:focus:ring-blue-500">Buy Now</button>
            </div>
        </div>
    </div>
    <div class="transform transition-transform duration-300 hover:scale-105 bg-gray-100 dark:bg-gray-800 rounded-lg shadow-lg overflow-hidden hover:shadow-xl">
        <img src="https://picsum.photos/300/202" alt="Product Image" class="w-full h-48 object-cover">
        <div class="p-4">
            <h2 class="text-lg font-semibold text-gray-800 dark:text-gray-200">Product Title</h2>
            <p class="text-gray-600 dark:text-gray-400 mt-2">Short description of the product that showcases its features and benefits.</p>
            <div class="flex items-center justify-between mt-4">
                <span class="text-xl font-bold text-gray-900 dark:text-gray-100">$79.99</span>
                <button class="bg-blue-500 text-white py-2 px-4 rounded-full transition duration-300 ease-in-out hover:bg-blue-600 dark:bg-blue-700 dark:hover:bg-blue-800 focus:outline-none focus:ring-2 focus:ring-blue-400 dark:focus:ring-blue-500">Buy Now</button>
            </div>
        </div>
    </div>
</div>

Related Components

Product Cards Component

A simple responsive product card component with microinteractions, designed for social media interfaces using Tailwind CSS, supporting dark theme and grayscale color scheme.

Open

Product Cards Component

A simple e-commerce product card component designed in Material Design style using a grayscale color scheme and responsive design with dark theme support.

Open

Product Cards Component

A brutalist styled product cards component with responsive effects and dark theme support using Tailwind CSS.

Open