Components Success Messages SkeuomorphismSuccessMessage

SkeuomorphismSuccessMessage

Skeuomorphism Success Message for Dashboard, Complex with Complementary Colors and Dark Mode

Preview

HTML Code

<div class="min-h-screen bg-gray-100 dark:bg-gray-900 p-8 flex items-center justify-center">
  <div class="bg-white dark:bg-gray-800 p-10 rounded-lg shadow-2xl w-full max-w-md border border-gray-200 dark:border-gray-700 relative overflow-hidden">
    <!-- Skeuomorphic header - subtle gradient and border -->
    <div class="absolute top-0 left-0 right-0 h-16 bg-gradient-to-b from-green-400 to-green-500 dark:from-green-600 dark:to-green-700 rounded-t-lg border-b border-green-600 dark:border-green-800"></div>
    
    <!-- Content Area with subtle inner shadow -->
    <div class="relative z-10 pt-4">
      <div class="text-center mb-8">
        <!-- Skeuomorphic Icon - Embossed look -->
        <div class="mx-auto w-20 h-20 rounded-full bg-white dark:bg-gray-700 flex items-center justify-center shadow-inner mb-4">
          <svg class="w-10 h-10 text-green-500 dark:text-green-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>
        </div>
        <h2 class="text-2xl font-bold text-gray-800 dark:text-gray-100 mb-2">Success!</h2>
        <p class="text-gray-600 dark:text-gray-400">Your operation was completed successfully.</p>
      </div>

      <!-- Detail Section - Elevated and Grouped -->
      <div class="bg-gray-50 dark:bg-gray-700 p-6 rounded-lg mb-6 shadow-md border border-gray-100 dark:border-gray-600">
        <div class="flex justify-between items-center mb-4">
          <span class="text-sm font-medium text-gray-700 dark:text-gray-300">Transaction ID:</span>
          <span class="text-sm text-gray-600 dark:text-gray-400">#XYZ123456789</span>
        </div>
        <div class="flex justify-between items-center">
          <span class="text-sm font-medium text-gray-700 dark:text-gray-300">Status:</span>
          <span class="text-sm text-green-600 dark:text-green-400 font-semibold">Completed</span>
        </div>
      </div>

      <!-- Action Buttons - Bevel effect -->
      <div class="flex flex-col space-y-4">
        <button class="bg-blue-500 hover:bg-blue-600 text-white font-bold py-3 px-6 rounded-lg shadow-lg transform transition duration-300 ease-in-out border-b-4 border-blue-700 dark:border-blue-800 hover:translate-y-1 hover:shadow-xl">
          View Details
        </button>
        <button class="bg-gray-300 hover:bg-gray-400 text-gray-800 font-bold py-3 px-6 rounded-lg shadow-lg transform transition duration-300 ease-in-out border-b-4 border-gray-500 dark:border-gray-600 hover:translate-y-1 hover:shadow-xl dark:bg-gray-600 dark:text-gray-200">
          Close
        </button>
      </div>
    </div>
  </div>
</div>

Related Components

Success Messages Component

A complex, responsive, and dark-theme compatible success message component for social media applications, featuring a vibrant 3D design using Tailwind CSS. It includes multiple interactive elements.

Open

Success Messages Component

A 3D Design style success messages component featuring responsive effects and dark theme support, with placeholders for images and avatars.

Open

Success Messages Component

A Success Messages Component designed in dark mode for blog/content reading. It features an analogous color scheme and is responsive.

Open