组件 OAuth 按钮 OAuth 按钮组件

OAuth 按钮组件

拟物化 OAuth 按钮,旨在用大地色调模拟现实世界的元素,用于社交媒体界面。

预览

HTML 代码

<div class="flex flex-col items-center justify-center p-6 bg-gray-100 dark:bg-gray-800 rounded-lg shadow-md space-y-4">
    <h2 class="text-2xl font-semibold text-gray-800 dark:text-gray-200">Sign in with</h2>
    <div class="flex flex-col space-y-4">
        <a href="#" class="flex items-center justify-center bg-[#e2b693] hover:bg-[#d1a579] dark:bg-[#704d3b] dark:hover:bg-[#6a4334] rounded-lg p-4 shadow-lg transition duration-200">
            <img src="https://randomuser.me/api/portraits/men/1.jpg" alt="Google" class="w-6 h-6 rounded-full mr-2" />
            <span class="text-lg font-semibold text-gray-800 dark:text-gray-200">Google</span>
        </a>
        <a href="#" class="flex items-center justify-center bg-[#94685b] hover:bg-[#805850] dark:bg-[#573c33] dark:hover:bg-[#4c3330] rounded-lg p-4 shadow-lg transition duration-200">
            <img src="https://randomuser.me/api/portraits/women/1.jpg" alt="Facebook" class="w-6 h-6 rounded-full mr-2" />
            <span class="text-lg font-semibold text-gray-800 dark:text-gray-200">Facebook</span>
        </a>
        <a href="#" class="flex items-center justify-center bg-[#574d44] hover:bg-[#4e422a] dark:bg-[#383025] dark:hover:bg-[#2e261e] rounded-lg p-4 shadow-lg transition duration-200">
            <img src="https://randomuser.me/api/portraits/men/2.jpg" alt="Twitter" class="w-6 h-6 rounded-full mr-2" />
            <span class="text-lg font-semibold text-gray-800 dark:text-gray-200">Twitter</span>
        </a>
    </div>
</div>

相关组件

OAuth按钮组件

一个复杂的网络组件,用于OAuth按钮,采用玻璃质感和大地色调,旨在为企业/公司网站设计,具有响应性和暗模式支持。

打开

OAuth 按钮组件

一个响应式 OAuth 按钮组件,具有拟物化设计、相似的配色方案和复杂的交互,适用于社交媒体界面。包括深色主题支持,并使用 Tailwind CSS 进行样式设置,无需 JavaScript。图片来自 Lorem Picsum 和 RandomUser.me。

打开

OAuth按钮组件(暗模式单色)

使用 Tailwind CSS 的响应式 OAuth 按钮组件,具有深色模式支持。使用深色背景的单色配色方案。

打开