Composant Notifications
Un composant de notifications réactives avec des micro-interactions, une palette de couleurs triadique et une prise en charge du thème sombre, conçu pour présenter des travaux ou des produits.
HTML Code
<div class="max-w-md mx-auto mt-10">
<h2 class="text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200">Notifications</h2>
<div class="space-y-4">
<div class="bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-lg shadow-md p-4 transform transition-transform duration-300 hover:scale-105">
<div class="flex items-start">
<img class="w-12 h-12 rounded-full mr-4" src="https://randomuser.me/api/portraits/men/1.jpg" alt="Avatar">
<div>
<h3 class="text-lg font-medium text-gray-800 dark:text-gray-200">John Doe</h3>
<p class="text-sm text-gray-700 dark:text-gray-400">Liked your project "Sunset Scenery"</p>
<span class="text-xs text-gray-500 dark:text-gray-400">2 minutes ago</span>
</div>
</div>
</div>
<div class="bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-lg shadow-md p-4 transform transition-transform duration-300 hover:scale-105">
<div class="flex items-start">
<img class="w-12 h-12 rounded-full mr-4" src="https://randomuser.me/api/portraits/women/2.jpg" alt="Avatar">
<div>
<h3 class="text-lg font-medium text-gray-800 dark:text-gray-200">Jane Smith</h3>
<p class="text-sm text-gray-700 dark:text-gray-400">Commented on your work "Abstract Art"</p>
<span class="text-xs text-gray-500 dark:text-gray-400">10 minutes ago</span>
</div>
</div>
</div>
<div class="bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-lg shadow-md p-4 transform transition-transform duration-300 hover:scale-105">
<div class="flex items-start">
<img class="w-12 h-12 rounded-full mr-4" src="https://randomuser.me/api/portraits/men/3.jpg" alt="Avatar">
<div>
<h3 class="text-lg font-medium text-gray-800 dark:text-gray-200">Alex Johnson</h3>
<p class="text-sm text-gray-700 dark:text-gray-400">Followed you</p>
<span class="text-xs text-gray-500 dark:text-gray-400">30 minutes ago</span>
</div>
</div>
</div>
</div>
</div>
Composants associés
Composant Notifications
Composant de notifications réactives avec prise en charge du mode sombre pour les interfaces de médias sociaux, avec une palette de couleurs vives.
Composant Notifications
Un composant de notifications complexe et réactif conçu avec les principes de Material Design, des couleurs neutres froides et la prise en charge du mode sombre, adapté à un portfolio pour présenter des éléments interactifs et des effets de profondeur.
Composant Notifications de luxe
Un composant de notifications simple et élégant conçu pour les sites Web de voyage/tourisme, avec un style luxueux/premium avec des tons bleus d’entreprise et une réactivité totale, y compris la prise en charge du mode sombre.