スキューモーフィックログインフォーム
Portfolio Web サイト用に設計された、グレースケールのカラースキームと複雑な複雑さを持つ Skeuomorphic ログインフォームコンポーネント。レスポンシブで、ダークテーマをサポートしています。
HTMLコード
<div class="min-h-screen bg-gray-200 flex items-center justify-center dark:bg-gray-900">
<div class="bg-white p-10 rounded-lg shadow-xl w-96 dark:bg-gray-800">
<h2 class="text-3xl font-bold text-center mb-8 text-gray-800 dark:text-white">Login</h2>
<form>
<div class="mb-5">
<label for="email" class="block text-sm font-medium text-gray-600 mb-2 dark:text-gray-300">Email</label>
<input type="email" id="email" class="w-full px-4 py-3 rounded-md border border-gray-300 focus:outline-none focus:ring-2 focus:ring-gray-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white dark:focus:ring-gray-600" placeholder="[email protected]">
</div>
<div class="mb-6">
<label for="password" class="block text-sm font-medium text-gray-600 mb-2 dark:text-gray-300">Password</label>
<input type="password" id="password" class="w-full px-4 py-3 rounded-md border border-gray-300 focus:outline-none focus:ring-2 focus:ring-gray-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white dark:focus:ring-gray-600" placeholder="********">
</div>
<button type="submit" class="w-full bg-gray-700 text-white py-3 rounded-md hover:bg-gray-800 focus:outline-none focus:ring-2 focus:ring-gray-500 dark:bg-gray-600 dark:hover:bg-gray-700 dark:focus:ring-gray-600">
Login
</button>
</form>
<p class="text-center text-gray-600 mt-6 text-sm dark:text-gray-400">
Don't have an account? <a href="#" class="text-gray-700 hover:underline dark:text-gray-300">Sign Up</a>
</p>
</div>
</div>
関連コンポーネント
ログインフォームコンポーネント
マイクロインタラクションと類似の配色を備えた複雑で応答性の高いログインフォームコンポーネントで、ビジネス/企業のWebサイトに適しています。ダークモードをサポートし、スタイリングにTailwind CSSを使用します。