コンポーネント ショッピングカート ショッピングカートコンポーネント

ショッピングカートコンポーネント

ダークモードのサポートとレスポンシブデザインを備えたブルータリズムのショッピングカートコンポーネント。

プレビュー

HTMLコード

<div class="container mx-auto p-4 bg-gray-100 dark:bg-gray-900 border-4 border-black dark:border-white">
  <h1 class="text-2xl font-bold mb-4 text-black dark:text-white">Shopping Cart</h1>
  <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
    <div class="border-2 border-black dark:border-white p-4 relative">
      <img src="https://picsum.photos/seed/item1/300/200" alt="Item 1" class="w-full h-48 object-cover mb-4 border-4 border-black dark:border-white">
      <h2 class="text-xl font-bold mb-2 text-black dark:text-white">Item 1</h2>
      <p class="text-gray-700 dark:text-gray-300 mb-2">Description of item 1.</p>
      <p class="text-black dark:text-white font-bold">$19.99</p>
      <button class="mt-4 p-2 bg-black text-white dark:bg-white dark:text-black border-2 border-black dark:border-white absolute bottom-4 right-4">Remove</button>
    </div>
    <div class="border-2 border-black dark:border-white p-4 relative">
      <img src="https://picsum.photos/seed/item2/300/200" alt="Item 2" class="w-full h-48 object-cover mb-4 border-4 border-black dark:border-white">
      <h2 class="text-xl font-bold mb-2 text-black dark:text-white">Item 2</h2>
      <p class="text-gray-700 dark:text-gray-300 mb-2">Description of item 2.</p>
      <p class="text-black dark:text-white font-bold">$29.99</p>
      <button class="mt-4 p-2 bg-black text-white dark:bg-white dark:text-black border-2 border-black dark:border-white absolute bottom-4 right-4">Remove</button>
    </div>
    <div class="border-2 border-black dark:border-white p-4 relative">
      <img src="https://picsum.photos/seed/item3/300/200" alt="Item 3" class="w-full h-48 object-cover mb-4 border-4 border-black dark:border-white">
      <h2 class="text-xl font-bold mb-2 text-black dark:text-white">Item 3</h2>
      <p class="text-gray-700 dark:text-gray-300 mb-2">Description of item 3.</p>
      <p class="text-black dark:text-white font-bold">$39.99</p>
      <button class="mt-4 p-2 bg-black text-white dark:bg-white dark:text-black border-2 border-black dark:border-white absolute bottom-4 right-4">Remove</button>
    </div>
  </div>
  <div class="mt-8 border-t-4 border-black dark:border-white pt-4 flex justify-between items-center">
    <h2 class="text-xl font-bold text-black dark:text-white">Total:</h2>
    <p class="text-xl font-bold text-black dark:text-white">$89.97</p>
  </div>
  <div class="mt-4 flex justify-end">
    <button class="p-4 bg-black text-white dark:bg-white dark:text-black border-4 border-black dark:border-white text-xl font-bold">Checkout</button>
  </div>
</div>

関連コンポーネント

3Dショッピングカートコンポーネント

奥行きとエンゲージメントを生み出す3Dデザイン要素を備えた、視覚的に印象的なショッピングカートコンポーネント。トライアドカラースキーム(プライマリーブルー、ビビッドレッド、アンバーイエロー)を使用して、視覚的な興味を引かせます。この複雑なインターフェースには、画像付きの商品リスト、数量管理、価格概要、3Dの動きをシミュレートするホバー効果が含まれています。ダークテーマのサポートにより完全にレスポンシブ。このコンポーネントは、読者がコンテンツを消費しながら推奨製品を購入できるコンテンツ/ブログ環境向けに設計されています。

開ける

ショッピングカートコンポーネント

レトロ/ビンテージ デザイン、補色配色、ダーク モードのサポートを備えたシンプルでレスポンシブなショッピング カート コンポーネントで、Tailwind CSS を使用して構築されています。

開ける

ショッピングカートコンポーネント - 水彩/アーティスティックセピア

セピア/ブラウンの色調を使用した水彩画/芸術的なスタイルのシンプルで応答性の高いショッピングカートコンポーネントで、製造/工業企業に適しています。ダークモードのサポートが含まれています。

開ける