Components Wishlist Wishlist Component

Wishlist Component

A responsive wishlist component with Glassmorphism design style using Tailwind CSS, supporting dark mode with frosted glass-like effects and random placeholder images.

Preview

HTML Code

<div class="flex flex-col items-center justify-center min-h-screen bg-gray-100 dark:bg-gray-900 p-4">
    <div class="bg-white dark:bg-gray-800 backdrop-blur-md bg-opacity-30 rounded-lg shadow-lg p-6 w-11/12 max-w-md">
        <h2 class="text-2xl font-bold text-gray-800 dark:text-gray-200 text-center mb-4">My Wishlist</h2>
        <ul class="space-y-4">
            <li class="flex items-center justify-between p-4 rounded-lg bg-white dark:bg-gray-700 shadow-md">
                <img src="https://picsum.photos/50/50" alt="Item Image" class="rounded-full" />
                <div class="flex-grow mx-4">
                    <h3 class="font-semibold text-gray-800 dark:text-gray-200">Item Title</h3>
                    <p class="text-gray-600 dark:text-gray-400">Description of the item goes here.</p>
                </div>
                <button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">Add to Cart</button>
            </li>
            <li class="flex items-center justify-between p-4 rounded-lg bg-white dark:bg-gray-700 shadow-md">
                <img src="https://picsum.photos/50/50" alt="Item Image" class="rounded-full" />
                <div class="flex-grow mx-4">
                    <h3 class="font-semibold text-gray-800 dark:text-gray-200">Item Title</h3>
                    <p class="text-gray-600 dark:text-gray-400">Description of the item goes here.</p>
                </div>
                <button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">Add to Cart</button>
            </li>
            <li class="flex items-center justify-between p-4 rounded-lg bg-white dark:bg-gray-700 shadow-md">
                <img src="https://picsum.photos/50/50" alt="Item Image" class="rounded-full" />
                <div class="flex-grow mx-4">
                    <h3 class="font-semibold text-gray-800 dark:text-gray-200">Item Title</h3>
                    <p class="text-gray-600 dark:text-gray-400">Description of the item goes here.</p>
                </div>
                <button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">Add to Cart</button>
            </li>
        </ul>
    </div>
</div>

Related Components

Wishlist Component

A simplistic wishlist component styled with a Brutalist approach, using a grayscale color scheme, designed for showcasing work or products.

Open

Wishlist Component

A simple, brutalist-style Wishlist Component for a portfolio, featuring a high-contrast, analogous color scheme. Responsive with dark mode support using Tailwind CSS.

Open

Wishlist Component

A responsive Wishlist Component designed for dark mode, suited for business/corporate websites. It features interactive elements and a complementary color scheme, built using Tailwind CSS.

Open