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

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

レスポンシブデザインとダークモードをサポートするレトロなビンテージスタイルのショッピングカートコンポーネントで、Tailwind CSSを利用し、プレースホルダー画像とアバターを備えています。

プレビュー

HTMLコード

<div class="bg-white dark:bg-gray-800 rounded-lg shadow-lg p-6 max-w-md mx-auto mt-10">
    <h2 class="text-2xl font-bold text-center text-black dark:text-white">Shopping Cart</h2>
    <ul class="mt-4">
        <li class="flex items-center justify-between py-2 border-b border-gray-300">
            <img src="https://picsum.photos/50/50" alt="Product Image" class="rounded-md">
            <div class="ml-3">
                <h3 class="text-lg font-semibold text-gray-800 dark:text-gray-200">Product Name 1</h3>
                <p class="text-gray-600 dark:text-gray-400">$29.99</p>
            </div>
            <input type="number" value="1" class="border rounded-md w-16 text-center" />
            <button class="ml-2 text-red-500 font-bold">Remove</button>
        </li>
        <li class="flex items-center justify-between py-2 border-b border-gray-300">
            <img src="https://picsum.photos/50/50?random=1" alt="Product Image" class="rounded-md">
            <div class="ml-3">
                <h3 class="text-lg font-semibold text-gray-800 dark:text-gray-200">Product Name 2</h3>
                <p class="text-gray-600 dark:text-gray-400">$49.99</p>
            </div>
            <input type="number" value="1" class="border rounded-md w-16 text-center" />
            <button class="ml-2 text-red-500 font-bold">Remove</button>
        </li>
        <li class="flex items-center justify-between py-2 border-b border-gray-300">
            <img src="https://picsum.photos/50/50?random=2" alt="Product Image" class="rounded-md">
            <div class="ml-3">
                <h3 class="text-lg font-semibold text-gray-800 dark:text-gray-200">Product Name 3</h3>
                <p class="text-gray-600 dark:text-gray-400">$19.99</p>
            </div>
            <input type="number" value="1" class="border rounded-md w-16 text-center" />
            <button class="ml-2 text-red-500 font-bold">Remove</button>
        </li>
    </ul>
    <div class="mt-4 flex justify-between">
        <p class="text-lg font-semibold text-gray-800 dark:text-gray-200">Total:</p>
        <p class="text-lg font-bold text-gray-800 dark:text-gray-200">$99.97</p>
    </div>
    <button class="mt-6 w-full bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 rounded-md transition duration-300 ease-in-out">Checkout</button>
</div>

関連コンポーネント

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

レトロ/ビンテージ デザイン スタイルで、80 年代/90 年代の美学と企業のブルー トーンに焦点を当てた、複雑で応答性の高いショッピング カート コンポーネントで、製造/産業用途に適しています。ダーク モードのサポートとインタラクティブな要素が含まれています。

開ける

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

Glassmorphismエフェクトでデザインされたショッピングカートコンポーネントで、補色の配色を利用し、ダークモード用に最適化されています。ポートフォリオの使用、作品や製品の展示に最適です。

開ける

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

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

開ける