認証コンポーネント

電子商取引用のニューモーフィズムスタイルの認証コンポーネントで、トライアドカラースキームとシンプルなレイアウトを備えています。ダークモードをサポートし、応答性があります。Tailwind CSSを使用します。JavaScript はありません。

プレビュー

HTMLコード

<div class="flex items-center justify-center h-screen bg-gray-200 dark:bg-gray-800">
  <div class="p-8 bg-white dark:bg-gray-700 rounded-xl shadow-lg dark:shadow-none">
    <h2 class="text-2xl font-semibold text-center text-gray-800 dark:text-white mb-6">Login</h2>
    <form>
      <div class="mb-4">
        <label for="email" class="block text-sm font-medium text-gray-600 dark:text-gray-300">Email</label>
        <input type="email" id="email" class="mt-1 block w-full px-3 py-2 bg-gray-100 dark:bg-gray-600 border border-gray-300 dark:border-gray-500 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm text-gray-900 dark:text-white">
      </div>
      <div class="mb-6">
        <label for="password" class="block text-sm font-medium text-gray-600 dark:text-gray-300">Password</label>
        <input type="password" id="password" class="mt-1 block w-full px-3 py-2 bg-gray-100 dark:bg-gray-600 border border-gray-300 dark:border-gray-500 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm text-gray-900 dark:text-white">
      </div>
      <div class="flex items-center justify-between">
        <div class="flex items-start">
          <div class="flex items-center">
            <input id="remember_me" name="remember_me" type="checkbox" class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded dark:bg-gray-600 dark:border-gray-500">
          </div>
          <div class="ml-2 text-sm">
            <label for="remember_me" class="font-medium text-gray-900 dark:text-gray-300">Remember me</label>
          </div>
        </div>
        <div class="text-sm">
          <a href="#" class="font-medium text-blue-600 hover:text-blue-500 dark:text-blue-400 dark:hover:text-blue-300">Forgot your password?</a>
        </div>
      </div>
      <div class="mt-6">
        <button type="submit" class="w-full flex justify-center py-2 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 dark:bg-blue-500 dark:hover:bg-blue-600">
          Sign in
        </button>
      </div>
    </form>
  </div>
</div>

関連コンポーネント

認証コンポーネント

3Dデザイン、単色の配色、シンプルな複雑さ、およびポートフォリオの目的を備えた認証コンポーネントコンポーネント。ダークテーマをサポートするレスポンシブデザイン。

開ける

ArtDecoAuthコンポーネント

アールデコ調のヘルスケア/医療アプリケーション向けの認証コンポーネントで、幾何学模様、高コントラストの色、ダークモードサポートによる完全な応答性を特長としています。ログインまたは登録フォームに適しています。

開ける

Playful_Manufacturing_Authentication_Component

製造/産業アプリケーション向けに設計された遊び心のある陽気な認証コンポーネントで、丸みを帯びた要素、類似の配色、ダークモードをサポートする完全な応答性が特徴です。

開ける