Skeuomorphism 파스텔 색상의 전자 상거래 아코디언
파스텔 색상의 전자 상거래를 위한 스큐어모픽 아코디언 구성 요소로, 다크 모드 지원을 포함하여 복잡한 상호 작용 및 응답성에 중점을 둡니다.
HTML 코드
<div class="max-w-md mx-auto"> <div class="bg-gradient-to-br from-gray-200 to-gray-300 dark:from-gray-700 dark:to-gray-800 shadow-xl rounded-lg"> <div class="border-b border-gray-300 dark:border-gray-600"> <button class="w-full flex justify-between items-center p-4 text-gray-700 dark:text-gray-300 font-semibold"> <span>Product Details</span> <svg class="w-5 h-5 transform transition-transform duration-200 rotate-0" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path> </svg> </button> <div class="p-4 border-t border-gray-300 dark:border-gray-600 hidden"> <p class="text-gray-600 dark:text-gray-400 text-sm">Here you can add detailed product information like specifications, materials, etc. This content is hidden by default and revealed when the accordion is expanded.</p> </div> </div> <div class="border-b border-gray-300 dark:border-gray-600"> <button class="w-full flex justify-between items-center p-4 text-gray-700 dark:text-gray-300 font-semibold"> <span>Shipping & Returns</span> <svg class="w-5 h-5 transform transition-transform duration-200 rotate-0" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path> </svg> </button> <div class="p-4 border-t border-gray-300 dark:border-gray-600 hidden"> <p class="text-gray-600 dark:text-gray-400 text-sm">Information about shipping options, delivery times, and return policy goes here. Keep it concise and easy to read.</p> </div> </div> <div> <button class="w-full flex justify-between items-center p-4 text-gray-700 dark:text-gray-300 font-semibold"> <span>Customer Reviews</span> <svg class="w-5 h-5 transform transition-transform duration-200 rotate-0" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path> </svg> </button> <div class="p-4 border-t border-gray-300 dark:border-gray-600 hidden"> <div class="flex items-start mb-4"> <img class="w-10 h-10 rounded-full mr-4" src="https://randomuser.me/api/portraits/lego/1.jpg" alt="Avatar"> <div> <p class="text-gray-700 dark:text-gray-300 font-semibold">Jane Doe</p> <p class="text-gray-600 dark:text-gray-400 text-sm">This product is amazing! Highly recommend.</p> </div> </div> <div class="flex items-start"> <img class="w-10 h-10 rounded-full mr-4" src="https://randomuser.me/api/portraits/women/2.jpg" alt="Avatar"> <div> <p class="text-gray-700 dark:text-gray-300 font-semibold">John Smith</p> <p class="text-gray-600 dark:text-gray-400 text-sm">Good quality and fast shipping.</p> </div> </div> </div> </div> </div></div>
관련 구성 요소
레트로 빈티지 아코디언 컴포넌트
Dashboard 데이터 시각화를 위한 어스 톤이 있는 레트로/빈티지 스타일의 아코디언 구성 요소입니다. 반응형 및 어두운 테마 지원으로 중간 수준의 복잡성을 위해 설계되었습니다.
레트로 대시보드 아코디언
Retro/Vintage Accordion Component for Dashboard with Complementary color scheme and Complex complexity(보색 구성표와 복잡한 복잡성을 가진 대시보드용 레트로/빈티지 아코디언 구성 요소). Tailwind CSS를 사용한 반응형 디자인 및 어두운 테마 지원이 포함됩니다. 자바스크립트가 없습니다. 이미지 제공 picsum.photos, 아바타 제공 randomuser.me.