Komponente "Benachrichtigungen"
Responsive Notifications-Komponente mit Unterstützung des Dunkelmodus für Social-Media-Schnittstellen mit einem lebendigen Farbschema.
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>
Verwandte Komponenten
Komponente "Benachrichtigungen"
Eine reaktionsschnelle Benachrichtigungskomponente, die mit skeuomorphen Elementen entwickelt wurde, ein komplementäres Farbschema und ein einfaches Layout verwendet, das für ein Portfolio geeignet ist.
Komponente "Benachrichtigungen"
Eine reaktionsschnelle Benachrichtigungskomponente, die im Dunkelmodus mit Tailwind CSS entwickelt wurde.
Komponente "Benachrichtigungen"
Eine Benachrichtigungskomponente im Retro-/Vintage-Stil, die für Dashboards entwickelt wurde und mehrere interaktive Elemente und Unterstützung für dunkle Themen bietet.