Components Follow Button Glassmorphism Follow Button

Glassmorphism Follow Button

Glassmorphism Follow Button Component for Social Media with Dark Theme

Preview

HTML Code

<div class="flex items-center justify-center min-h-screen bg-gradient-to-br from-blue-500 to-purple-600 dark:from-gray-800 dark:to-gray-900">
  <div class="bg-white bg-opacity-10 backdrop-filter backdrop-blur-lg rounded-xl p-6 shadow-lg border border-gray-100 border-opacity-20 dark:bg-gray-700 dark:bg-opacity-10 dark:border-gray-600 dark:border-opacity-20">
    <div class="flex items-center space-x-4">
      <img class="w-12 h-12 rounded-full object-cover" src="https://randomuser.me/api/portraits/men/32.jpg" alt="User Avatar">
      <div>
        <h3 class="text-lg font-semibold text-white dark:text-gray-200">John Doe</h3>
        <p class="text-sm text-gray-200 dark:text-gray-400">@johndoe</p>
      </div>
      <button class="ml-auto px-6 py-2 bg-blue-500 text-white font-semibold rounded-full hover:bg-blue-600 transition duration-300 ease-in-out transform hover:scale-105 dark:bg-blue-600 dark:hover:bg-blue-700">
        Follow
      </button>
    </div>
  </div>
</div>

Related Components

Follow Button Component

A complex 'Follow' button component with microinteractions, sepia/brown color scheme, responsive design, and dark mode support, suitable for blog/content platforms.

Open

Follow Button Component

A follow button component designed in the brutalism style with high contrast and a raw, bold appearance. It is responsive and supports dark themes.

Open

Follow Button

A simple follow button with Material Design styling, responsive effects, and dark theme support.

Open