Alert Messages Component
A simple, monochromatic alert message component for blogs with microinteraction-focused animations, dark mode support, and responsiveness.
HTML Code
<div class="max-w-sm mx-auto bg-gray-100 dark:bg-gray-800 rounded-lg shadow-md overflow-hidden mt-4">
<div class="flex items-center px-4 py-3 animate-bounce">
<div class="flex-shrink-0">
<svg class="h-6 w-6 text-gray-500 dark:text-gray-400" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z" />
</svg>
</div>
<div class="ml-3">
<p class="text-sm leading-5 font-medium text-gray-700 dark:text-gray-300">
New article published!
</p>
</div>
</div>
</div>
Related Components
Alert Messages Component
A retro/vintage styled alert message component for business/corporate websites, featuring earth tones and responsive design with dark mode support.
Alert Messages Component
A simple Neumorphism-styled alert message component for business websites, featuring vibrant colors and responsive dark theme support using Tailwind CSS and no JavaScript.
Alert Messages Component
A complex, vibrant, glassmorphism-styled alert message component for e-commerce, with support for dark mode.