認証コンポーネント

ダークモード、レスポンシブエフェクト、JavaScript依存なしの認証コンポーネント。

プレビュー

HTMLコード

<div class="min-h-screen flex items-center justify-center bg-gray-900">
  <div class="bg-gray-800 p-10 rounded-lg shadow-xl w-full max-w-md">
    <h1 class="text-white text-center text-2xl font-bold mb-6">Login</h1>
    <form>
      <div class="mb-4">
        <label for="email" class="block text-gray-400 text-sm font-bold mb-2">Email Address</label>
        <input type="email" id="email" class="shadow appearance-nonse border border-gray-700 rounded w-full py-2 px-3 text-gray-200 leading-tight focus:outline-none focus:shadow-outline bg-gray-700" placeholder="Enter your email">
      </div>
      <div class="mb-6">
        <label for="password" class="block text-gray-400 text-sm font-bold mb-2">Password</label>
        <input type="password" id="password" class="shadow appearance-none border border-gray-700 rounded w-full py-2 px-3 text-gray-200 leading-tight focus:outline-none focus:shadow-outline bg-gray-700" placeholder="Enter your password">
      </div>
      <div class="flex items-center justify-between">
        <button type="submit" class="bg-blue-600 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline">Sign In</button>
        <a class="inline-block align-baseline font-bold text-sm text-blue-500 hover:text-blue-700" href="#">Forgot Password?</a>
      </div>
    </form>
  </div>
</div>

関連コンポーネント

認証コンポーネント

ダークモードのサポート、ダーク背景のTailwind CSS、ログインおよびサインアップフォーム、UI要素のランダムなプレースホルダー画像を使用したレスポンシブ認証コンポーネント。

開ける

ミニマリストAuthForm

ポートフォリオやWebアプリケーション用に設計された、レスポンシブでミニマリストなログインフォームコンポーネント。フラットなデザインの美学と補色の組み合わせが特徴で、ライトモードではブルーがインタラクティブ要素に、ダークモードではオレンジが使用されています。このフォームには、メールアドレスとパスワードのフィールド、「記憶する」オプション、「パスワードを忘れた場合」のリンク、サインアップのオプション、ソーシャルログイン統合(GitHubなど)のフィールドが含まれています。ダークテーマをサポートし、HTMLとTailwind CSSだけで構築されているため、簡単に統合できます。

開ける

認証コンポーネント

3Dデザイン、トライアドカラースキーム、複雑なインタラクション、レスポンシブモードとダークモードのサポートを備えたEコマース用の認証コンポーネント。

開ける