登録フォーム
Tailwind CSSを使用した洗練されたダークモード登録フォームコンポーネントで、ユーザー情報とレスポンシブデザインのフィールドを備えています。
HTMLコード
<div class="min-h-screen flex items-center justify-center bg-gray-900">
<div class="bg-gray-800 rounded-lg shadow-lg p-8 max-w-md w-full">
<h2 class="text-2xl font-bold text-white text-center mb-6">Create Account</h2>
<form>
<div class="mb-4">
<label class="block text-gray-400 mb-2" for="username">Username</label>
<input type="text" id="username" class="bg-gray-700 text-white border border-gray-600 rounded-lg w-full py-2 px-4" placeholder="Enter your username" required />
</div>
<div class="mb-4">
<label class="block text-gray-400 mb-2" for="email">Email</label>
<input type="email" id="email" class="bg-gray-700 text-white border border-gray-600 rounded-lg w-full py-2 px-4" placeholder="[email protected]" required />
</div>
<div class="mb-4">
<label class="block text-gray-400 mb-2" for="password">Password</label>
<input type="password" id="password" class="bg-gray-700 text-white border border-gray-600 rounded-lg w-full py-2 px-4" placeholder="Enter your password" required />
</div>
<div class="mb-6">
<label class="block text-gray-400 mb-2" for="confirm-password">Confirm Password</label>
<input type="password" id="confirm-password" class="bg-gray-700 text-white border border-gray-600 rounded-lg w-full py-2 px-4" placeholder="Confirm your password" required />
</div>
<div class="flex items-center justify-between mb-4">
<input type="checkbox" id="terms" class="text-gray-400 border-gray-600" required />
<label for="terms" class="text-gray-400"> I agree to the terms and conditions</label>
</div>
<button type="submit" class="w-full bg-blue-600 hover:bg-blue-500 text-white py-2 rounded-lg font-semibold">Register</button>
</form>
<p class="text-gray-400 text-center mt-4">Already have an account? <a href="#" class="text-blue-500 hover:underline">Login</a></p>
</div>
<footer class="absolute bottom-0 left-0 w-full text-center bg-gray-800 py-2 text-gray-400">© 2023 Company Name</footer>
</div>
関連コンポーネント
ブルータリズム登録フォーム
ブルータリズムデザイン、トライアドカラースキーム、シンプルな複雑さを備えた登録フォームコンポーネントで、ダッシュボードに適しています。レスポンシブで、Tailwind CSSを使用したダークモードをサポートしています。
登録フォーム-eコマース-追い風
レスポンシブモードとダークモードをサポートするTailwind CSSを使用したeコマース用のミニマリストフラットデザイン登録フォームコンポーネントで、補完的な青オレンジの配色が特徴です。
登録フォームコンポーネント
Glassmorphismでスタイル設定されたレスポンシブ登録フォームコンポーネントで、ぼかし効果のあるすりガラスのような半透明の要素が特徴で、ダークモードをサポートし、プレースホルダー画像を表示します。