등급 시스템 구성 요소
Tailwind CSS로 디자인된 레트로/빈티지 스타일의 등급 시스템 구성 요소로, 반응형 디자인과 어두운 테마 지원을 특징으로 합니다.
HTML 코드
<div class="bg-white dark:bg-gray-800 p-5 rounded-lg shadow-lg max-w-md mx-auto">
<h2 class="text-2xl font-bold text-center text-gray-800 dark:text-white mb-4">Rate This Item</h2>
<div class="flex justify-center mb-4">
<img src="https://picsum.photos/200/100" alt="Item Image" class="rounded-md">
</div>
<div class="flex justify-center mb-4">
<img src="https://randomuser.me/api/portraits/men/10.jpg" alt="User Avatar" class="rounded-full w-12 h-12 border-2 border-gray-300 dark:border-gray-600 mr-2">
<span class="text-gray-800 dark:text-white self-center">John Doe</span>
</div>
<div class="flex justify-center mb-4">
<span class="text-yellow-500 text-3xl">★ ★ ★ ★ ☆</span>
</div>
<div class="flex justify-between mt-4">
<button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline transition duration-300 ease-in-out">Submit</button>
<button class="bg-gray-300 dark:bg-gray-700 hover:bg-gray-400 dark:hover:bg-gray-600 text-gray-800 dark:text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline transition duration-300 ease-in-out">Cancel</button>
</div>
</div>
관련 구성 요소
레트로 레이팅 시스템 구성 요소
전자 상거래를 위한 간단한 레트로 스타일의 등급 시스템 구성 요소로, Tailwind CSS를 사용하여 생생한 색상과 어두운 테마를 지원합니다.
등급 시스템 구성 요소
레트로/빈티지 스타일로 디자인된 등급 시스템 구성 요소로, 보색 구성표와 블로그 콘텐츠를 위한 복잡한 인터페이스를 활용합니다. 이 구성 요소는 다크 모드를 지원하며 Tailwind CSS를 사용하여 반응합니다.