ウィッシュリストコンポーネント
Tailwind CSS を使用した Glassmorphism デザイン スタイルのレスポンシブ ウィッシュリスト コンポーネントで、すりガラスのようなエフェクトとランダムなプレースホルダー イメージを備えたダーク モードをサポートします。
HTMLコード
<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>
関連コンポーネント
Glassmorphism ウィッシュリスト コンポーネント
音楽/オーディオプラットフォーム向けのシンプルでレスポンシブなglassmorphismスタイルのウィッシュリストコンポーネントで、ぼかし効果のあるすりガラスのような半透明の要素と、ダークモードをサポートする企業の青い配色が特徴です。
Glassmorphism ウィッシュリストコンポーネント - 農業/農業
glassmorphism デザイン スタイル、パステル調の配色、農業/農業 Web サイト向けに調整されたレスポンシブ ウィッシュリスト コンポーネント。ぼかし効果、セマンティック HTML、および完全なダーク モードのサポートを備えたすりガラスのような半透明の要素が特徴です。
ウィッシュリストコンポーネント
レトロ/ビンテージウィッシュリストコンポーネント トライアドカラースキーム、シンプルな複雑さ、レスポンシブデザイン、ダークテーマのサポートを備えたEコマース向け。