コンテンツ表示コンポーネント
eコマース向けのシンプルなビンテージスタイルのレスポンシブコンテンツ表示コンポーネントで、単色の配色を使用し、ダークモードをサポートします。
HTMLコード
<div class="max-w-md mx-auto bg-gray-800 dark:bg-gray-900 rounded-lg overflow-hidden shadow-lg">
<img class="w-full h-48 object-cover" src="https://picsum.photos/seed/pic1/400/300" alt="Product Image">
<div class="p-6">
<h2 class="text-2xl font-bold text-gray-100 dark:text-gray-200 mb-2">Vintage Product Title</h2>
<p class="text-gray-300 dark:text-gray-400 mb-4">A brief description of the vintage product that evokes nostalgia from the 80s and 90s.</p>
<div class="flex items-center mb-4">
<img class="w-10 h-10 rounded-full mr-2" src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar">
<div class="text-sm">
<p class="text-gray-100 dark:text-gray-200">Seller Name</p>
<p class="text-gray-500 dark:text-gray-400">Seller Rating: ⭐⭐⭐⭐</p>
</div>
</div>
<span class="text-lg font-semibold text-gray-100 dark:text-gray-200">$29.99</span>
<div class="mt-4">
<button class="w-full bg-gray-600 hover:bg-gray-500 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline dark:bg-gray-700 dark:hover:bg-gray-600">Add to Cart</button>
</div>
</div>
</div>
関連コンポーネント
コンテンツ表示コンポーネント
パステルカラーのスキューモーフィックスタイルでデザインされたレスポンシブソーシャルメディアコンテンツ表示コンポーネントで、複数のインタラクティブ要素とダークモードのサポートを備えています。
コンテンツ表示コンポーネント
マイクロインタラクション、レスポンシブデザイン、ダークテーマのサポートを備えたシンプルで鮮やかなコンテンツ表示コンポーネントで、ブログやコンテンツの消費に適しています。画像にはpicsum.photosを使用し、アバターには randomuser.me を使用します。