组件 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按钮的网络组件,采用拟物化风格,具有响应效果,并使用Tailwind CSS支持黑暗主题。

打开

OAuth 按钮组件

一个简单、干净、极简的组件,用于显示 OAuth 登录按钮,遵循瑞士/国际排版设计原则。具有黑白单色,具有明亮的强调色、完全响应和深色模式支持,非常适合文档或 Wiki 网站。

打开

OAuth按钮组件

复古/经典/80年代/90年代主题的OAuth按钮组件,具有相似色配色方案,适中复杂性,适用于社交媒体,响应式设计,支持暗黑模式。不需要JavaScript,仅使用Tailwind类的HTML。

打开