コンポーネント ウィッシュリスト ウィッシュリストコンポーネント

ウィッシュリストコンポーネント

レトロ/ヴィンテージの美学でデザインされたレスポンシブなウィッシュリストコンポーネントは、トライアドカラースキームとダークモードのサポートを特徴としており、作品や製品の展示に最適です。

プレビュー

HTMLコード

<div class="bg-gray-900 dark:bg-gray-800 text-gray-100 dark:text-gray-200 p-6 rounded-lg max-w-md mx-auto shadow-lg">
    <h2 class="text-3xl font-bold text-center mb-4">My Wishlist</h2>
    <div class="space-y-4">
        <div class="flex items-center justify-between bg-gray-700 dark:bg-gray-600 p-4 rounded-lg">
            <img src="https://picsum.photos/100" alt="Product" class="w-16 h-16 rounded-lg">
            <div class="flex-1 ml-4">
                <h3 class="text-xl font-semibold">Product Title 1</h3>
                <p class="text-gray-300 dark:text-gray-400">Description of the product goes here.</p>
            </div>
            <button class="bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded">Add to Cart</button>
        </div>
        <div class="flex items-center justify-between bg-gray-700 dark:bg-gray-600 p-4 rounded-lg">
            <img src="https://picsum.photos/100?random=1" alt="Product" class="w-16 h-16 rounded-lg">
            <div class="flex-1 ml-4">
                <h3 class="text-xl font-semibold">Product Title 2</h3>
                <p class="text-gray-300 dark:text-gray-400">Description of the product goes here.</p>
            </div>
            <button class="bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded">Add to Cart</button>
        </div>
        <div class="flex items-center justify-between bg-gray-700 dark:bg-gray-600 p-4 rounded-lg">
            <img src="https://picsum.photos/100?random=2" alt="Product" class="w-16 h-16 rounded-lg">
            <div class="flex-1 ml-4">
                <h3 class="text-xl font-semibold">Product Title 3</h3>
                <p class="text-gray-300 dark:text-gray-400">Description of the product goes here.</p>
            </div>
            <button class="bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded">Add to Cart</button>
        </div>
    </div>
    <div class="mt-6 text-center">
        <h4 class="text-2xl font-bold">User: John Doe</h4>
        <img src="https://randomuser.me/api/portraits/men/10.jpg" alt="User Avatar" class="w-24 h-24 rounded-full mx-auto mt-2">
    </div>
</div>

関連コンポーネント

ウィッシュリストコンポーネント

マイクロインタラクションを備えたビジネス/企業のWebサイト向けのシンプルで応答性の高いウィッシュリストコンポーネント。類似の配色 (青、緑、青緑)、ダーク テーマのサポート、微妙なホバー アニメーションが特徴です。このコンポーネントには、ウィッシュリストアイテムが製品画像、名前、価格、アクションボタンとともに表示されます。

開ける

ウィッシュリストコンポーネント

ソーシャルメディアインターフェース用の3Dスタイルのウィッシュリストコンポーネントで、インタラクティブな要素とダークモードのサポートが特徴です。

開ける

ウィッシュリストコンポーネント

ソーシャルメディア用のニューモーフィズムスタイルのウィッシュリストコンポーネントで、補色スキームが施されています。これには、ダークモードをサポートするTailwind CSSを使用したレスポンシブデザインが含まれています。HTML クラスと Tailwind クラスのみが使用され、JavaScript は使用されません。画像はpicsum.photosから、アバターは randomuser.me から提供されています。

開ける