구성 요소 위시리스트 위시리스트 컴포넌트

위시리스트 컴포넌트

Tailwind CSS를 사용하는 Glassmorphism 디자인 스타일의 반응형 위시리스트 구성 요소로, 젖빛 유리와 같은 효과와 임의의 자리 표시자 이미지가 있는 다크 모드를 지원합니다.

미리 보기

HTML 코드

<div class="flex flex-col items-center justify-center min-h-screen bg-gray-100 dark:bg-gray-900 p-4">
    <div class="bg-white dark:bg-gray-800 backdrop-blur-md bg-opacity-30 rounded-lg shadow-lg p-6 w-11/12 max-w-md">
        <h2 class="text-2xl font-bold text-gray-800 dark:text-gray-200 text-center mb-4">My Wishlist</h2>
        <ul class="space-y-4">
            <li class="flex items-center justify-between p-4 rounded-lg bg-white dark:bg-gray-700 shadow-md">
                <img src="https://picsum.photos/50/50" alt="Item Image" class="rounded-full" />
                <div class="flex-grow mx-4">
                    <h3 class="font-semibold text-gray-800 dark:text-gray-200">Item Title</h3>
                    <p class="text-gray-600 dark:text-gray-400">Description of the item goes here.</p>
                </div>
                <button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">Add to Cart</button>
            </li>
            <li class="flex items-center justify-between p-4 rounded-lg bg-white dark:bg-gray-700 shadow-md">
                <img src="https://picsum.photos/50/50" alt="Item Image" class="rounded-full" />
                <div class="flex-grow mx-4">
                    <h3 class="font-semibold text-gray-800 dark:text-gray-200">Item Title</h3>
                    <p class="text-gray-600 dark:text-gray-400">Description of the item goes here.</p>
                </div>
                <button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">Add to Cart</button>
            </li>
            <li class="flex items-center justify-between p-4 rounded-lg bg-white dark:bg-gray-700 shadow-md">
                <img src="https://picsum.photos/50/50" alt="Item Image" class="rounded-full" />
                <div class="flex-grow mx-4">
                    <h3 class="font-semibold text-gray-800 dark:text-gray-200">Item Title</h3>
                    <p class="text-gray-600 dark:text-gray-400">Description of the item goes here.</p>
                </div>
                <button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">Add to Cart</button>
            </li>
        </ul>
    </div>
</div>

관련 구성 요소

위시리스트 컴포넌트

마이크로 인터랙션과 그레이스케일 색 구성표가 있는 간단한 전자 상거래 위시리스트 구성 요소로, 반응형 디자인과 다크 모드 지원에 최적화되어 있습니다.

열다

위시리스트 컴포넌트

레트로/빈티지 미학으로 디자인된 반응형 위시리스트 구성 요소로, 트라이어딕 색 구성표와 다크 모드 지원을 특징으로 하여 작업이나 제품을 전시하는 데 이상적입니다.

열다

위시리스트 컴포넌트

플레이스홀더 이미지와 어두운 테마를 특징으로 하는 미니멀리스트 위시리스트 구성 요소입니다.

열다