좋아요/반응 버튼
Like/Reaction Buttons 구성 요소에는 Microinteractions, 응답성 및 어두운 테마 지원이 있습니다.
HTML 코드
<div class="flex items-center justify-center bg-gray-100 dark:bg-gray-800 min-h-screen">
<div class="flex space-x-4">
<button class="flex items-center space-x-1 text-gray-600 dark:text-gray-300 hover:text-blue-500 dark:hover:text-blue-400 transition duration-200 ease-in-out transform hover:scale-110">
<svg class="w-6 h-6" 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="M14 10h4.764a2 2 0 011.808 2.808l-7.922 8.802a1.995 1.995 0 01-2.808.01z"></path>
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 10h.01M7 10v7a3 3 0 003 3h.01M7 10h10.929c.795 0 1.549-.394 2-.664"></path>
</svg>
<span>Like</span>
</button>
<button class="flex items-center space-x-1 text-gray-600 dark:text-gray-300 hover:text-red-500 dark:hover:text-red-400 transition duration-200 ease-in-out transform hover:scale-110">
<svg class="w-6 h-6" 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="M20.84 4.91a2.14 2.14 0 00-3.03 0L12 10.78l-5.81-5.87a2.14 2.14 0 00-3.03 0 2.18 2.18 0 000 3.07L12 17l8.84-8.92a2.18 2.18 0 000-3.07z"></path>
</svg>
<span>Love</span>
</button>
<button class="flex items-center space-x-1 text-gray-600 dark:text-gray-300 hover:text-yellow-500 dark:hover:text-yellow-400 transition duration-200 ease-in-out transform hover:scale-110">
<svg class="w-6 h-6" 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="M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9"></path>
</svg>
<span>Haha</span>
</button>
</div>
</div>
관련 구성 요소
뉴모피즘LikeReactionButtons
Responsive Like/Reaction Buttons 어두운 테마 지원 및 Neumorphism 디자인이 있는 블로그/콘텐츠를 위한 구성 요소입니다.
Like/Reaction Buttons 컴포넌트
레트로/빈티지 스타일의 Like/Reaction 버튼 구성 요소로, 어두운 테마 지원 및 반응형 디자인으로 반응을 위한 다양한 대화형 버튼을 제공합니다. 이 구성 요소는 대시보드에 적합하여 사용자가 인터페이스의 다양한 요소에 반응할 수 있도록 합니다.
Like/Reaction Buttons 컴포넌트
Tailwind CSS와 함께 Brutalism 스타일로 디자인된 Like/Reaction Buttons 구성 요소로, 반응형 효과와 어두운 테마 지원을 특징으로 합니다.