Components Modal SocialMediaPostModal

SocialMediaPostModal

A simple, responsive, Material Design-inspired modal component with analogous color scheme, suitable for social media applications. Supports dark theme.

Preview

HTML Code


<div class="fixed inset-0 bg-gray-600 bg-opacity-50 overflow-y-auto h-full w-full flex justify-center items-center">
  <div class="relative p-5 border w-96 shadow-lg rounded-md bg-white dark:bg-gray-800">
    <div class="mt-3 text-center">
      <h3 class="text-lg leading-6 font-medium text-gray-900 dark:text-gray-100">Post Created!</h3>
      <div class="mt-2 px-7 py-3">
        <p class="text-sm text-gray-500 dark:text-gray-400">Your post has been successfully shared with your followers.</p>
        <img class="mt-4 rounded-md" src="https://picsum.photos/400/200" alt="Placeholder image for social media post">
      </div>
      <div class="items-center px-4 py-3">
        <button id="ok-btn" class="px-4 py-2 bg-blue-500 text-white text-base font-medium rounded-md w-full shadow-sm hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 dark:bg-blue-700 dark:hover:bg-blue-900">Awesome!</button>
      </div>
    </div>
  </div>
</div>

Related Components

Neon Dashboard Modal

A complex, responsive dashboard modal with neon/glow effects, using autumn colors, dark mode support, and interactive elements. Designed for data visualization and control panels.

Open

Cyberpunk Learning Modal

A responsive, cyberpunk-themed modal component for educational platforms, featuring dark backgrounds, neon accents, and interactive elements. Supports dark mode.

Open

Retro Vintage Modal Component

A responsive retro/vintage modal component designed with Tailwind CSS that includes dark mode support and nostalgic 80s/90s aesthetics.

Open