Like/Reaction Buttons 컴포넌트
Glassmorphism 스타일의 Like/Reaction Buttons 컴포넌트는 Tailwind CSS를 사용하여 반응형 효과와 다크 모드를 지원합니다.
HTML 코드
<div class="flex justify-center items-center space-x-4 p-6 bg-white bg-opacity-10 backdrop-blur-lg rounded-lg shadow-lg dark:bg-gray-800 dark:bg-opacity-30">
<div class="flex items-center space-x-2">
<img class="w-8 h-8 rounded-full" src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar">
<span class="text-lg text-gray-900 dark:text-white">Like</span>
</div>
<button class="flex items-center p-2 text-white bg-blue-500 rounded-full transition duration-300 ease-in-out hover:bg-blue-600 focus:outline-none">
<span class="material-icons"> thumb_up </span>
</button>
<button class="flex items-center p-2 text-white bg-red-500 rounded-full transition duration-300 ease-in-out hover:bg-red-600 focus:outline-none">
<span class="material-icons"> favorite </span>
</button>
<button class="flex items-center p-2 text-white bg-yellow-500 rounded-full transition duration-300 ease-in-out hover:bg-yellow-600 focus:outline-none">
<span class="material-icons"> sentiment_satisfied </span>
</button>
</div>
<style>
/* Add Material Icons font link */
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
</style>
관련 구성 요소
좋아요/반응 버튼
브루탈리즘 디자인, 어스 톤, 복잡한 상호 작용, 반응형, 어두운 테마 지원이 있는 좋아요/반응 버튼 구성 요소.. JS 없음, Tailwind가 있는 순수한 HTML.
Like/Reaction Buttons 컴포넌트
마이크로 인터랙션이 있는 좋아요 및 반응 버튼을 특징으로 하는 웹 구성 요소이며 Tailwind CSS를 사용하여 어두운 테마를 지원합니다.
스큐어모픽 반응 버튼
스큐어모픽 디자인 스타일의 좋아요 및 반응 버튼 세트로, 반응형 레이아웃과 다크 모드를 지원합니다. 버튼은 JavaScript 없이 HTML 및 Tailwind CSS로만 구현됩니다. 다크 모드는 CSS 클래스를 통해 처리됩니다. 자리 표시자 이미지는 아바타에 사용됩니다.