Interactive Components 구성 요소
다크 모드와 단색 색 구성표로 설계된 소셜 미디어 인터랙티브 구성 요소입니다.
HTML 코드
<div class="bg-gray-900 text-gray-100 min-h-screen p-6">
<div class="max-w-md mx-auto bg-gray-800 rounded-lg shadow-lg">
<div class="p-4 border-b border-gray-700">
<h2 class="text-xl font-bold">Interactive Components</h2>
<p class="text-gray-400">Engage with your network in style.</p>
</div>
<div class="flex items-center p-4">
<img class="w-12 h-12 rounded-full" src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" />
<div class="ml-4">
<h3 class="font-semibold">John Doe</h3>
<p class="text-gray-500 text-sm">@johndoe</p>
</div>
</div>
<div class="p-4">
<img class="w-full h-48 object-cover rounded-lg" src="https://picsum.photos/500/300" alt="Interactive Image" />
<p class="mt-2 text-gray-300">This is an example of an interactive post with an image. Feel free to comment and like!</p>
</div>
<div class="flex justify-between p-4 border-t border-gray-700">
<button class="bg-gray-700 hover:bg-gray-600 rounded-lg px-4 py-2 text-white transition duration-150 ease-in-out">Like</button>
<button class="bg-gray-700 hover:bg-gray-600 rounded-lg px-4 py-2 text-white transition duration-150 ease-in-out">Comment</button>
</div>
</div>
</div>
관련 구성 요소
브루탈리스트 제품 카드
전자 상거래를 위한 간단한 대화형 제품 카드 구성 요소로, 회색조의 브루탈리즘 디자인이 있습니다. 제품 이미지, 제목, 가격 및 '장바구니에 추가' 버튼이 있습니다. 구성 요소는 반응형이며 어두운 모드를 지원합니다. 상호 작용을 위해 호버 효과가 포함됩니다.
Interactive Components 구성 요소
파스텔 색 구성표, 적당한 복잡성, 반응형 디자인 및 다크 모드 지원을 갖춘 소셜 미디어 인터랙티브 구성 요소로, Tailwind CSS로 구축되고 머티리얼 디자인 원칙을 따릅니다. picsum.photos의 더미 이미지와 randomuser.me 의 아바타를 사용합니다.