组件 交互式组件 交互组件组件

交互组件组件

交互组件 玻璃化

预览

HTML 代码

    
<div class="flex items-center justify-center min-h-screen bg-gray-100 dark:bg-gray-900">
  <div class="bg-white dark:bg-gray-800 bg-opacity-80 dark:bg-opacity-80 backdrop-filter backdrop-blur-lg rounded-lg p-6 shadow-lg w-96">
    <div class="flex items-center justify-between mb-4">
      <h2 class="text-xl font-semibold text-gray-800 dark:text-white">Product Title</h2>
      <span class="text-lg font-bold text-green-500 dark:text-green-400">$49.99</span>
    </div>
    <img class="w-full h-48 object-cover rounded-md mb-4" src="https://picsum.photos/seed/picsum/400/300" alt Light Pink Product Image">
    <p class="text-gray-600 dark:text-gray-300 mb-4">A brief description of the product goes here. It should be concise and informative.</p>
    <button class="w-full bg-blue-500 text-white py-2 px-4 rounded-md hover:bg-blue-600 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-opacity-50 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-600">Add to Cart</button>
  </div>
</div>

相关组件

交互式组件组件

一个社交媒体互动组件,具有柔和的配色方案、适度的复杂度、响应式设计和深色模式支持,使用 Tailwind CSS 构建并遵循 Material Design 原则。它使用来自 picsum.photos 的虚拟图像和 randomuser.me 中的头像。

打开

互动组件

互动组件,采用材料设计,三元色方案,复杂度高,适用于电子商务,具有响应式设计和暗主题支持。

打开

交互式组件组件

材料设计互动组件,具有响应式效果和黑暗主题支持。

打开