コンポーネント 製品カード 製品カードコンポーネント

製品カードコンポーネント

レスポンシブエフェクトとTailwind CSSを使用したダークテーマのサポートを備えたブルータリズムスタイルの製品カードコンポーネント。

プレビュー

HTMLコード

<div class="flex flex-wrap justify-center p-4 bg-gray-100 dark:bg-gray-800">
  <div class="max-w-sm rounded-lg overflow-hidden shadow-lg m-4 bg-white dark:bg-gray-900">
    <img class="w-full h-48 object-cover" src="https://picsum.photos/400/200?random=1" alt="Product Image">
    <div class="p-6">
      <h2 class="font-bold text-xl mb-2 text-gray-800 dark:text-gray-200">Product Title 1</h2>
      <p class="text-gray-700 dark:text-gray-300">This is a brief description of the product. It is made from high-quality materials and is designed for everyday use.</p>
      <div class="mt-4">
        <button class="bg-blue-500 text-white font-bold py-2 px-4 rounded-full hover:bg-blue-700">Buy Now</button>
      </div>
    </div>
  </div>
  <div class="max-w-sm rounded-lg overflow-hidden shadow-lg m-4 bg-white dark:bg-gray-900">
    <img class="w-full h-48 object-cover" src="https://picsum.photos/400/200?random=2" alt="Product Image">
    <div class="p-6">
      <h2 class="font-bold text-xl mb-2 text-gray-800 dark:text-gray-200">Product Title 2</h2>
      <p class="text-gray-700 dark:text-gray-300">This is a brief description of the product. It is made from high-quality materials and is designed for everyday use.</p>
      <div class="mt-4">
        <button class="bg-blue-500 text-white font-bold py-2 px-4 rounded-full hover:bg-blue-700">Buy Now</button>
      </div>
    </div>
  </div>
  <div class="max-w-sm rounded-lg overflow-hidden shadow-lg m-4 bg-white dark:bg-gray-900">
    <img class="w-full h-48 object-cover" src="https://picsum.photos/400/200?random=3" alt="Product Image">
    <div class="p-6">
      <h2 class="font-bold text-xl mb-2 text-gray-800 dark:text-gray-200">Product Title 3</h2>
      <p class="text-gray-700 dark:text-gray-300">This is a brief description of the product. It is made from high-quality materials and is designed for everyday use.</p>
      <div class="mt-4">
        <button class="bg-blue-500 text-white font-bold py-2 px-4 rounded-full hover:bg-blue-700">Buy Now</button>
      </div>
    </div>
  </div>
</div>

関連コンポーネント

スキューモーフィック製品カード

ダッシュボード用のスキューモーフィック製品カードコンポーネントで、グレースケールでスタイル設定され、複雑度が中程度で、ダークモードで応答します。

開ける

製品カードコンポーネント

ダークトライアドの配色と適度な複雑さを備えたソーシャルメディア用の製品カードコンポーネント。ダークモードをサポートするレスポンシブデザインにTailwind CSSを使用し、画像とアバターのプレースホルダーが含まれています。

開ける

製品カードコンポーネント

パステルカラーを使用したGlassmorphism曇りガラス効果のレスポンシブ製品カードで、ダークモードがサポートされています。ソーシャルメディアインターフェースに適しています。

開ける