组件 OAuth 按钮 OAuth 按钮组件

OAuth 按钮组件

一个为暗黑模式设计的响应式OAuth按钮组件,使用Tailwind CSS,具有适合低光环境的深色背景和UI元素。

预览

HTML 代码

<div class="min-h-screen flex items-center justify-center bg-gray-900 p-4">
    <div class="bg-gray-800 rounded-lg shadow-lg p-6 max-w-sm w-full">
        <h2 class="text-white text-2xl font-bold mb-4 text-center">Login with</h2>
        <div class="flex flex-col space-y-4">
            <a href="#" class="flex items-center justify-between bg-red-600 text-white rounded-lg p-3 hover:bg-red-500 transition duration-300">
                <div class="flex items-center">
                    <img src="https://picsum.photos/30/30" alt="Google" class="rounded-full mr-3" />
                    <span>Google</span>
                </div>
                <span>></span>
            </a>
            <a href="#" class="flex items-center justify-between bg-blue-600 text-white rounded-lg p-3 hover:bg-blue-500 transition duration-300">
                <div class="flex items-center">
                    <img src="https://randomuser.me/api/portraits/men/1.jpg" alt="Facebook" class="rounded-full mr-3" />
                    <span>Facebook</span>
                </div>
                <span>></span>
            </a>
            <a href="#" class="flex items-center justify-between bg-gray-600 text-white rounded-lg p-3 hover:bg-gray-500 transition duration-300">
                <div class="flex items-center">
                    <img src="https://randomuser.me/api/portraits/women/1.jpg" alt="Twitter" class="rounded-full mr-3" />
                    <span>Twitter</span>
                </div>
                <span>></span>
            </a>
        </div>
    </div>
</div>

相关组件

OAuth 按钮组件

一个为暗模式设计的响应式OAuth按钮组件,具有相近的色彩方案,并为社交媒体提供多个交互元素.

打开

OAuth 按钮组件

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

打开

OAuth 按钮组件

一个响应式的OAuth按钮组件,采用3D设计风格,支持暗色主题,并配有占位图像。该组件包含Google、Facebook、Twitter和LinkedIn的按钮,具有悬停效果以增加深度和互动性。

打开