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

위시리스트 컴포넌트

어두운 테마 대시보드를 위해 스큐어모픽 요소와 보색으로 디자인된 반응형 위시리스트 구성 요소입니다.

미리 보기

HTML 코드

<div class="max-w-xs mx-auto bg-gray-800 rounded-lg shadow-lg overflow-hidden dark:bg-gray-900">
    <div class="p-4">
        <h2 class="text-2xl font-bold text-white mb-2">Wishlist</h2>
        <ul class="space-y-4">
            <li class="bg-gray-700 dark:bg-gray-800 p-3 rounded-md flex items-center justify-between">
                <div class="flex items-center space-x-3">
                    <img src="https://picsum.photos/50/50" alt="Product Image" class="w-12 h-12 rounded-md shadow-md" />
                    <div>
                        <h3 class="text-lg text-white">Product Name 1</h3>
                        <p class="text-sm text-gray-400">$20.00</p>
                    </div>
                </div>
                <button class="bg-blue-500 hover:bg-blue-600 text-white font-bold py-1 px-3 rounded-md">Add to Cart</button>
            </li>
            <li class="bg-gray-700 dark:bg-gray-800 p-3 rounded-md flex items-center justify-between">
                <div class="flex items-center space-x-3">
                    <img src="https://picsum.photos/50/51" alt="Product Image" class="w-12 h-12 rounded-md shadow-md" />
                    <div>
                        <h3 class="text-lg text-white">Product Name 2</h3>
                        <p class="text-sm text-gray-400">$30.00</p>
                    </div>
                </div>
                <button class="bg-blue-500 hover:bg-blue-600 text-white font-bold py-1 px-3 rounded-md">Add to Cart</button>
            </li>
            <li class="bg-gray-700 dark:bg-gray-800 p-3 rounded-md flex items-center justify-between">
                <div class="flex items-center space-x-3">
                    <img src="https://picsum.photos/50/52" alt="Product Image" class="w-12 h-12 rounded-md shadow-md" />
                    <div>
                        <h3 class="text-lg text-white">Product Name 3</h3>
                        <p class="text-sm text-gray-400">$40.00</p>
                    </div>
                </div>
                <button class="bg-blue-500 hover:bg-blue-600 text-white font-bold py-1 px-3 rounded-md">Add to Cart</button>
            </li>
        </ul>
    </div>
</div>

관련 구성 요소

위시리스트 컴포넌트

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

열다

위시리스트 컴포넌트

대시보드용으로 설계된 반응형 위시리스트 구성 요소로, 단색 색 구성표와 3D 디자인 스타일을 특징으로 합니다.

열다

위시리스트 컴포넌트

Tailwind CSS를 사용하여 다크 모드를 지원하는 반응형 위시리스트 컴포넌트. 이미지, 제목, 가격이 있는 항목 목록을 표시하고 버튼을 제거합니다. 생생한 색상의 대시보드를 위해 설계되었습니다.

열다