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

愿望清单组件

专为深色模式设计的响应式愿望清单组件,适用于商业/公司网站。它具有交互式元素和互补配色方案,使用 Tailwind CSS 构建。

预览

HTML 代码

<div class="min-h-screen bg-gray-900 text-white p-5">
    <h1 class="text-2xl font-bold mb-5">Wishlist</h1>
    <div class="overflow-x-auto">
        <table class="min-w-full bg-gray-800 rounded-lg shadow-lg">
            <thead>
                <tr class="bg-gray-700 text-gray-200">
                    <th class="py-2 px-4">Item</th>
                    <th class="py-2 px-4">Description</th>
                    <th class="py-2 px-4">Price</th>
                    <th class="py-2 px-4">Actions</th>
                </tr>
            </thead>
            <tbody>
                <tr class="border-b border-gray-600">
                    <td class="py-4 px-4 flex items-center">
                        <img src="https://picsum.photos/50/50" alt="Item 1" class="rounded mr-3">
                        Item 1
                    </td>
                    <td class="py-4 px-4">This is a description of item 1.</td>
                    <td class="py-4 px-4">$19.99</td>
                    <td class="py-4 px-4">
                        <button class="bg-blue-600 text-white py-1 px-3 rounded hover:bg-blue-500">Add to Cart</button>
                        <button class="bg-red-600 text-white py-1 px-3 rounded hover:bg-red-500">Remove</button>
                    </td>
                </tr>
                <tr class="border-b border-gray-600">
                    <td class="py-4 px-4 flex items-center">
                        <img src="https://picsum.photos/50/51" alt="Item 2" class="rounded mr-3">
                        Item 2
                    </td>
                    <td class="py-4 px-4">This is a description of item 2.</td>
                    <td class="py-4 px-4">$29.99</td>
                    <td class="py-4 px-4">
                        <button class="bg-blue-600 text-white py-1 px-3 rounded hover:bg-blue-500">Add to Cart</button>
                        <button class="bg-red-600 text-white py-1 px-3 rounded hover:bg-red-500">Remove</button>
                    </td>
                </tr>
                <tr class="border-b border-gray-600">
                    <td class="py-4 px-4 flex items-center">
                        <img src="https://picsum.photos/50/52" alt="Item 3" class="rounded mr-3">
                        Item 3
                    </td>
                    <td class="py-4 px-4">This is a description of item 3.</td>
                    <td class="py-4 px-4">$39.99</td>
                    <td class="py-4 px-4">
                        <button class="bg-blue-600 text-white py-1 px-3 rounded hover:bg-blue-500">Add to Cart</button>
                        <button class="bg-red-600 text-white py-1 px-3 rounded hover:bg-red-500">Remove</button>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    <div class="mt-5 flex justify-between">
        <button class="bg-green-600 text-white py-2 px-5 rounded hover:bg-green-500">Move All to Cart</button>
        <button class="bg-gray-600 text-white py-2 px-5 rounded hover:bg-gray-500">Clear Wishlist</button>
    </div>
</div>

相关组件

愿望清单组件

用于社交媒体界面的 3D 风格愿望单组件,具有交互式元素和深色模式支持。

打开

愿望清单组件

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

打开

愿望清单组件

专为仪表板设计的响应式 Wishlist 组件,具有单色配色方案和 3D 设计样式。

打开