Follow Button Component
A responsive 'Follow' button component designed for real estate platforms, featuring a corporate blue color scheme, dark mode support, and a subtle interactive hover effect.
HTML Code
<div class="flex items-center justify-center p-4 bg-gray-100 dark:bg-gray-900 min-h-screen">
<button class="relative flex items-center justify-center px-6 py-2 overflow-hidden font-semibold text-white transition-all duration-300 ease-in-out bg-blue-600 rounded-lg group shadow-lg dark:bg-blue-700 dark:shadow-blue-900/50 hover:shadow-xl hover:scale-105 active:scale-95 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 dark:focus:ring-offset-gray-900">
<span class="relative z-10 text-base group-hover:text-white transition-colors duration-200">
Follow
</span>
<svg class="absolute w-0 h-0 transition-all duration-300 ease-in-out transform -translate-x-full opacity-0 group-hover:opacity-100 group-hover:w-6 group-hover:h-6 group-hover:translate-x-0 group-hover:text-white" 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="M17 8l4 4m0 0l-4 4m4-4H3"></path>
</svg>
<span class="absolute top-0 left-0 w-full h-full bg-gradient-to-r from-blue-700 to-blue-500 rounded-lg opacity-0 transition-opacity duration-300 ease-in-out group-hover:opacity-100"></span>
</button>
</div>
Related Components
Follow Button Component - Monospace/Developer Style
A complex, interactive follow button component designed for news/journalism websites, featuring a monospace/developer aesthetic with jewel-tone colors and full responsiveness, including dark mode support.
Follow Button Component
A responsive follow/unfollow button component suitable for event and conference websites, featuring gradient transitions, dark mode support, and a bright accent color. It includes a subtle hover effect and changes text and background on click (simulated).
Follow Button Component
A clean, minimalist 'Follow' button designed with a retro/vintage color palette, suitable for a dashboard or profile page. It features an interactive hover state and dark mode support, embodying Swiss/International typography principles.