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

愿望清单组件

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

预览

HTML 代码

<div class="bg-gray-900 text-gray-200 min-h-screen p-8">
  <div class="max-w-4xl mx-auto">
    <h2 class="text-2xl font-bold mb-6 text-purple-400">My Wishlist</h2>
    <div class="space-y-6">

      <!-- Wishlist Item 1 -->
      <div class="flex flex-col md:flex-row items-center bg-gray-800 p-4 rounded-lg shadow-lg">
        <img src="https://picsum.photos/seed/item1/150/100" alt="Product Image" class="w-full md:w-32 h-auto md:h-24 object-cover rounded-md mb-4 md:mb-0 md:mr-6">
        <div class="flex-grow">
          <h3 class="text-xl font-semibold text-teal-400">Vibrant Product Title 1</h3>
          <p class="text-gray-400">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
          <p class="text-lg font-bold mt-2 text-orange-400">$199.99</p>
        </div>
        <button class="mt-4 md:mt-0 bg-red-600 hover:bg-red-700 text-white font-bold py-2 px-4 rounded">Remove</button>
      </div>

      <!-- Wishlist Item 2 -->
      <div class="flex flex-col md:flex-row items-center bg-gray-800 p-4 rounded-lg shadow-lg">
        <img src="https://picsum.photos/seed/item2/150/100" alt="Product Image" class="w-full md:w-32 h-auto md:h-24 object-cover rounded-md mb-4 md:mb-0 md:mr-6">
        <div class="flex-grow">
          <h3 class="text-xl font-semibold text-cyan-400">Exciting Product Title 2</h3>
          <p class="text-gray-400">Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
          <p class="text-lg font-bold mt-2 text-lime-400">$249.50</p>
        </div>
        <button class="mt-4 md:mt-0 bg-red-600 hover:bg-red-700 text-white font-bold py-2 px-4 rounded">Remove</button>
      </div>

      <!-- Wishlist Item 3 -->
      <div class="flex flex-col md:flex-row items-center bg-gray-800 p-4 rounded-lg shadow-lg">
        <img src="https://picsum.photos/seed/item3/150/100" alt="Product Image" class="w-full md:w-32 h-auto md:h-24 object-cover rounded-md mb-4 md:mb-0 md:mr-6">
        <div class="flex-grow">
          <h3 class="text-xl font-semibold text-pink-400">Dynamic Product Title 3</h3>
          <p class="text-gray-400">Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.</p>
          <p class="text-lg font-bold mt-2 text-yellow-400">$99.00</p>
        </div>
        <button class="mt-4 md:mt-0 bg-red-600 hover:bg-red-700 text-white font-bold py-2 px-4 rounded">Remove</button>
      </div>

    </div>
  </div>
</div>

相关组件

赛博朋克愿望清单组件

一个复杂的、以赛博朋克为主题的、用于加密货币/区块链应用程序的愿望清单组件,具有深色背景、霓虹宝石色调和响应式设计,支持深色模式。

打开

Glassmorphism_Wishlist_Component

一个复杂的响应式愿望清单组件,采用海洋/蓝色调的 Glassmorphism 设计,针对约会/社交平台进行了优化。包括深色模式支持和交互元素。

打开

愿望清单组件

一个简单、响应式的愿望清单组件,具有为运动/健身应用程序量身定制的等宽 / 开发人员美感。具有黑色和白色,带有强调色,支持深色模式,并使用语义 HTML。

打开