组件 愿望清单 愿望清单组件

愿望清单组件

一个响应式愿望清单组件,采用复古/复古美学设计,具有三重配色方案和深色模式支持,非常适合展示作品或产品。

预览

HTML 代码

<div class="bg-gray-900 dark:bg-gray-800 text-gray-100 dark:text-gray-200 p-6 rounded-lg max-w-md mx-auto shadow-lg">
    <h2 class="text-3xl font-bold text-center mb-4">My Wishlist</h2>
    <div class="space-y-4">
        <div class="flex items-center justify-between bg-gray-700 dark:bg-gray-600 p-4 rounded-lg">
            <img src="https://picsum.photos/100" alt="Product" class="w-16 h-16 rounded-lg">
            <div class="flex-1 ml-4">
                <h3 class="text-xl font-semibold">Product Title 1</h3>
                <p class="text-gray-300 dark:text-gray-400">Description of the product goes here.</p>
            </div>
            <button class="bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded">Add to Cart</button>
        </div>
        <div class="flex items-center justify-between bg-gray-700 dark:bg-gray-600 p-4 rounded-lg">
            <img src="https://picsum.photos/100?random=1" alt="Product" class="w-16 h-16 rounded-lg">
            <div class="flex-1 ml-4">
                <h3 class="text-xl font-semibold">Product Title 2</h3>
                <p class="text-gray-300 dark:text-gray-400">Description of the product goes here.</p>
            </div>
            <button class="bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded">Add to Cart</button>
        </div>
        <div class="flex items-center justify-between bg-gray-700 dark:bg-gray-600 p-4 rounded-lg">
            <img src="https://picsum.photos/100?random=2" alt="Product" class="w-16 h-16 rounded-lg">
            <div class="flex-1 ml-4">
                <h3 class="text-xl font-semibold">Product Title 3</h3>
                <p class="text-gray-300 dark:text-gray-400">Description of the product goes here.</p>
            </div>
            <button class="bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded">Add to Cart</button>
        </div>
    </div>
    <div class="mt-6 text-center">
        <h4 class="text-2xl font-bold">User: John Doe</h4>
        <img src="https://randomuser.me/api/portraits/men/10.jpg" alt="User Avatar" class="w-24 h-24 rounded-full mx-auto mt-2">
    </div>
</div>

相关组件

愿望清单组件

使用 Tailwind CSS 的响应式愿望清单组件,支持深色模式。显示包含图像、标题、价格和删除按钮的项目列表。专为色彩鲜艳的仪表板而设计。

打开

愿望清单组件

一个极简主义愿望清单组件,具有占位符图像和深色主题.

打开

Glassmorphism 愿望清单组件

一个简单、响应式 glassmorphism 风格的愿望清单组件,适用于音乐/音频平台,具有磨砂玻璃状半透明元素,具有模糊效果和企业蓝色配色方案,并支持深色模式。

打开