Dark Mode Modal Component
A simple responsive modal component designed for social media interfaces in dark mode with a pastel color scheme.
HTML Code
<div class="fixed inset-0 flex items-center justify-center z-50 bg-gray-900 bg-opacity-80 dark:bg-gray-800">
<div class="bg-gray-800 rounded-lg shadow-lg w-11/12 md:w-1/3 p-6">
<h2 class="text-xl font-bold text-white mb-4">Welcome to Our Community!</h2>
<p class="text-gray-300 mb-4">Join us in sharing ideas, experiences, and connecting with one another. We believe in the power of community.</p>
<div class="flex items-center mb-4">
<img src="https://randomuser.me/api/portraits/men/1.jpg" alt="Avatar" class="w-12 h-12 rounded-full mr-3">
<span class="text-pink-200 font-semibold">John Doe</span>
</div>
<img src="https://picsum.photos/300/150" alt="Placeholder" class="rounded-lg mb-4">
<button class="w-full bg-pink-500 hover:bg-pink-400 text-white font-bold py-2 px-4 rounded">Join Now</button>
<button class="w-full mt-2 bg-transparent border border-pink-500 hover:bg-pink-500 hover:text-white text-pink-500 font-bold py-2 px-4 rounded">Cancel</button>
</div>
</div>
Related Components
RetroBookingModal
A retro-themed booking/reservation modal component with pastel colors, responsive design, and dark mode support, suitable for appointment systems.
Modal Component
A responsive modal component styled with microinteractions and triadic color scheme, designed for social media interfaces. It features animations that engage users upon interaction and provides dark theme support using Tailwind CSS.
Skeuomorphic Social Media Modal
A moderately complex, responsive, skeuomorphic modal component designed for social media interactions, featuring a complementary color scheme and dark mode support.