Notifications Component
Responsive Notifications Component with Dark Mode support for social media interfaces, with a vibrant color scheme.
HTML Code
<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>
Related Components
Notifications Component
A Neumorphism-styled Notifications Component with a pastel color scheme, moderate complexity, and responsive design with dark theme support. Suitable for business/corporate websites.
Notifications Component
Responsive Notifications Component with Dark Mode support for Dashboard