组件 OAuth 按钮 OAuth 按钮组件

OAuth 按钮组件

一个为暗黑模式设计的响应式 OAuth 按钮组件,色彩方案鲜艳,适合专业商业网站。

预览

HTML 代码

<div class="min-h-screen bg-gray-900 flex flex-col items-center justify-center p-6">
    <h2 class="text-4xl font-bold text-white mb-6">Login with OAuth</h2>
    <div class="flex flex-col gap-4 w-full max-w-md">
        <a href="#" class="flex items-center justify-center bg-red-600 hover:bg-red-700 dark:bg-red-800 dark:hover:bg-red-700 text-white font-semibold py-3 rounded-md shadow-md transition duration-300">
            <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Google Logo" class="w-6 h-6 mr-3" />
            <span>Continue with Google</span>
        </a>
        <a href="#" class="flex items-center justify-center bg-blue-600 hover:bg-blue-700 dark:bg-blue-800 dark:hover:bg-blue-700 text-white font-semibold py-3 rounded-md shadow-md transition duration-300">
            <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Facebook Logo" class="w-6 h-6 mr-3" />
            <span>Continue with Facebook</span>
        </a>
        <a href="#" class="flex items-center justify-center bg-purple-600 hover:bg-purple-700 dark:bg-purple-800 dark:hover:bg-purple-700 text-white font-semibold py-3 rounded-md shadow-md transition duration-300">
            <img src="https://randomuser.me/api/portraits/men/40.jpg" alt="LinkedIn Logo" class="w-6 h-6 mr-3" />
            <span>Continue with LinkedIn</span>
        </a>
    </div>
    <p class="mt-6 text-gray-400">Or</p>
    <a href="#" class="mt-2 text-white underline">Login with Email</a>
</div>

相关组件

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

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

打开

OAuth 按钮组件

玻璃设计风格的OAuth按钮组件,具有响应效果和暗主题支持。

打开

OAuth 按钮组件

一个新拟态风格的OAuth按钮组件,专为博客或内容消费平台设计。该组件包含多个OAuth提供者的按钮,具有响应式设计、黑暗主题支持和单色配色方案。

打开