HTML 코드
<div class="min-h-screen bg-gray-100 dark:bg-gray-800 flex items-center justify-center p-4">
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<!-- Badge 1 -->
<div class="bg-white dark:bg-gray-900 shadow-lg rounded-lg p-6 flex items-center space-x-4 transition-all duration-300 hover:shadow-2xl cursor-pointer">
<img class="w-12 h-12 rounded-full shadow-inner" src="https://randomuser.me/api/portraits/men/1.jpg" alt="Avatar">
<div class="flex flex-col">
<h2 class="text-xl font-semibold text-gray-800 dark:text-gray-200">Tech Trends</h2>
<p class="text-gray-600 dark:text-gray-400">Stay updated with the latest in technology.</p>
</div>
</div>
<!-- Badge 2 -->
<div class="bg-white dark:bg-gray-900 shadow-lg rounded-lg p-6 flex items-center space-x-4 transition-all duration-300 hover:shadow-2xl cursor-pointer">
<img class="w-12 h-12 rounded-full shadow-inner" src="https://randomuser.me/api/portraits/women/1.jpg" alt="Avatar">
<div class="flex flex-col">
<h2 class="text-xl font-semibold text-gray-800 dark:text-gray-200">Health & Wellness</h2>
<p class="text-gray-600 dark:text-gray-400">Tips for a healthier lifestyle.</p>
</div>
</div>
<!-- Badge 3 -->
<div class="bg-white dark:bg-gray-900 shadow-lg rounded-lg p-6 flex items-center space-x-4 transition-all duration-300 hover:shadow-2xl cursor-pointer">
<img class="w-12 h-12 rounded-full shadow-inner" src="https://randomuser.me/api/portraits/men/2.jpg" alt="Avatar">
<div class="flex flex-col">
<h2 class="text-xl font-semibold text-gray-800 dark:text-gray-200">Travel Diaries</h2>
<p class="text-gray-600 dark:text-gray-400">Explore the world through rich stories.</p>
</div>
</div>
<!-- Badge 4 -->
<div class="bg-white dark:bg-gray-900 shadow-lg rounded-lg p-6 flex items-center space-x-4 transition-all duration-300 hover:shadow-2xl cursor-pointer">
<img class="w-12 h-12 rounded-full shadow-inner" src="https://randomuser.me/api/portraits/women/2.jpg" alt="Avatar">
<div class="flex flex-col">
<h2 class="text-xl font-semibold text-gray-800 dark:text-gray-200">Food & Recipes</h2>
<p class="text-gray-600 dark:text-gray-400">Discover delicious recipes and cooking tips.</p>
</div>
</div>
</div>
</div>
관련 구성 요소
Badges 구성 요소
배지 구성 요소 - 반응형 효과와 어두운 테마를 지원하는 미니멀리스트/플랫 디자인. Tailwind를 사용하는 JavaScript, 순수 HTML 및 CSS가 없습니다.
Neumorphic Badges 컴포넌트
기술/SaaS 애플리케이션에 적합한 부드러운 뉴모픽 스타일로 디자인된 대화형 배지 모음입니다. 멋진 무채색, 다크 모드 지원 및 반응성이 특징입니다.