Notifications 구성 요소
Responsive Notifications 구성 요소는 소셜 미디어 인터페이스를 지원하며 생생한 색 구성표로 제공됩니다.
HTML 코드
<div class="p-4 bg-gray-900 dark:bg-black text-white rounded-lg shadow-md">
<h2 class="text-xl font-bold mb-4 text-teal-400">Notifications</h2>
<div class="space-y-4">
<div class="flex items-center border-b border-gray-700 pb-4">
<img src="https://randomuser.me/api/portraits/men/32.jpg" alt="User Avatar" class="w-10 h-10 rounded-full mr-4">
<p class="flex-grow"><span class="font-semibold text-purple-400">John Doe</span> liked your post.</p>
<span class="text-gray-500 text-sm">2 min ago</span>
</div>
<div class="flex items-center border-b border-gray-700 pb-4">
<img src="https://randomuser.me/api/portraits/women/44.jpg" alt="User Avatar" class="w-10 h-10 rounded-full mr-4">
<p class="flex-grow"><span class="font-semibold text-pink-400">Jane Smith</span> commented on your photo.</p>
<span class="text-gray-500 text-sm">1 hour ago</span>
</div>
<div class="flex items-center">
<img src="https://randomuser.me/api/portraits/men/78.jpg" alt="User Avatar" class="w-10 h-10 rounded-full mr-4">
<p class="flex-grow"><span class="font-semibold text-yellow-400">Peter Jones</span> started following you.</p>
<span class="text-gray-500 text-sm">3 hours ago</span>
</div>
</div>
</div>
관련 구성 요소
Notifications 구성 요소
머티리얼 디자인(Material Design) 원칙과 전자상거래 애플리케이션을 위한 단색 색 구성표로 설계된 Notifications Component로, 반응형 디자인과 어두운 테마 지원을 특징으로 합니다.
Notifications 구성 요소
바우하우스(Bauhaus)에서 영감을 받은 요소로 스타일링된 복잡하고 반응형 알림 구성 요소로, 문서 또는 위키 사이트에 적합하며 다크 모드를 지원합니다.