コンポーネント ソーシャルログイン ソーシャルログインコンポーネント

ソーシャルログインコンポーネント

Tailwind CSSで設計されたミニマリストのソーシャルログインコンポーネントで、明るいテーマと暗いテーマの両方でクリーンなスペースとレスポンシブエフェクトを備えています。

プレビュー

HTMLコード

<div class="flex flex-col items-center justify-center min-h-screen bg-white dark:bg-gray-900">
    <div class="bg-gray-100 dark:bg-gray-800 shadow-md rounded-lg p-8 w-96">
        <h2 class="text-lg font-semibold text-center text-gray-800 dark:text-gray-200">Login with</h2>
        <div class="mt-4">
            <button class="flex items-center justify-center w-full p-2 mb-4 bg-blue-600 hover:bg-blue-700 text-white rounded-md transition duration-200">
                <img src="https://picsum.photos/20/20" alt="Google Logo" class="mr-2 rounded-full">
                Google
            </button>
            <button class="flex items-center justify-center w-full p-2 mb-4 bg-gray-600 hover:bg-gray-700 text-white rounded-md transition duration-200">
                <img src="https://randomuser.me/api/portraits/med/men/50.jpg" alt="Facebook Logo" class="mr-2 rounded-full">
                Facebook
            </button>
            <button class="flex items-center justify-center w-full p-2 mb-4 bg-red-600 hover:bg-red-700 text-white rounded-md transition duration-200">
                <img src="https://picsum.photos/20/20" alt="Twitter Logo" class="mr-2 rounded-full">
                Twitter
            </button>
        </div>
        <div class="text-center">
            <p class="text-gray-600 dark:text-gray-300">or</p>
            <a href="#" class="text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-600">Sign in with email</a>
        </div>
    </div>
</div>

関連コンポーネント

ソーシャルログインコンポーネント

クールなニュートラルカラーを使用した工業的で原材料の美学を備えたソーシャルログインコンポーネントで、予約および予約システムに適しています。ソーシャルログインボタンと手動ログインオプション付きのセパレーターを備えており、すべてレスポンシブでダークモードをサポートしています。

開ける

ソーシャルログインコンポーネント

単色の配色を使用したダークモード用に設計されたレスポンシブソーシャルログインコンポーネント。インタラクティブな機能を備えたブログやコンテンツの消費に適しています。

開ける

ソーシャルログインコンポーネント

パステルカラーの配色とダークモードをサポートするeコマースプラットフォーム用に設計されたレトロ/ビンテージソーシャルログインコンポーネント。

開ける