Components Wishlist Wishlist Component

Wishlist Component

A simple e-commerce wishlist component with microinteractions and a grayscale color scheme, optimized for responsive design and dark mode support.

Preview

HTML Code

<div class="max-w-md mx-auto my-10 p-5 bg-white dark:bg-gray-800 rounded-lg shadow-lg transition-all duration-300 ease-in-out transform hover:scale-105">
    <h2 class="text-2xl font-semibold text-gray-800 dark:text-gray-200 mb-4">Wishlist</h2>
    <ul class="space-y-4">
        <li class="border border-gray-300 dark:border-gray-700 rounded-lg p-4 flex items-center justify-between transition-shadow duration-300 ease-in-out hover:shadow-lg">
            <img src="https://picsum.photos/100/100" alt="Product Image" class="w-20 h-20 object-cover rounded bg-gray-200" />
            <div class="flex-1 mx-4">
                <h3 class="text-lg font-medium text-gray-800 dark:text-gray-200">Product Name</h3>
                <p class="text-gray-500 dark:text-gray-400">$19.99</p>
            </div>
            <button class="text-red-600 dark:text-red-400 hover:underline focus:outline-none">Remove</button>
        </li>
        <li class="border border-gray-300 dark:border-gray-700 rounded-lg p-4 flex items-center justify-between transition-shadow duration-300 ease-in-out hover:shadow-lg">
            <img src="https://picsum.photos/100/101" alt="Product Image" class="w-20 h-20 object-cover rounded bg-gray-200" />
            <div class="flex-1 mx-4">
                <h3 class="text-lg font-medium text-gray-800 dark:text-gray-200">Another Product</h3>
                <p class="text-gray-500 dark:text-gray-400">$29.99</p>
            </div>
            <button class="text-red-600 dark:text-red-400 hover:underline focus:outline-none">Remove</button>
        </li>
    </ul>
    <button class="mt-6 w-full bg-gray-800 dark:bg-gray-200 text-white dark:text-gray-800 font-bold py-2 px-4 rounded hover:bg-gray-900 dark:hover:bg-gray-300 transition duration-300">Move to Cart</button>
</div>

Related Components

Wishlist Component

A minimalist/flat design wishlist component with responsive effects and dark theme support.

Open

Wishlist Component - Material Design

A Material Design inspired Wishlist Component with responsive design and dark theme support.

Open

Wishlist Component

A 3D-styled wishlist component for social media interfaces, featuring interactive elements and dark mode support.

Open