Two-Factor Authentication Component
A simple two-factor authentication component featuring a vibrant color scheme and 3D design elements suitable for business websites.
HTML Code
<div class="flex items-center justify-center min-h-screen bg-gray-100 dark:bg-gray-900">
<div class="bg-white dark:bg-gray-800 shadow-2xl rounded-lg p-8 transform hover:scale-105 transition-transform duration-300 ease-in-out">
<h2 class="text-2xl font-bold text-center text-blue-600 dark:text-blue-400 mb-6">Two-Factor Authentication</h2>
<p class="text-center text-gray-600 dark:text-gray-300 mb-4">Please enter the verification code sent to your email:</p>
<form class="mt-4">
<input type="text" placeholder="Verification Code" class="w-full p-2 border border-gray-300 dark:border-gray-600 rounded-lg mb-6 focus:outline-none focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-400" />
<button type="submit" class="w-full bg-blue-600 dark:bg-blue-500 text-white font-semibold py-2 rounded-lg shadow hover:bg-blue-700 dark:hover:bg-blue-400 transition duration-200 ease-in-out">Verify</button>
</form>
<div class="flex justify-between mt-6">
<a href="#" class="text-blue-600 dark:text-blue-400 hover:underline">Resend Code</a>
<a href="#" class="text-blue-600 dark:text-blue-400 hover:underline">Need Help?</a>
</div>
</div>
</div>
Related Components
Two-Factor Authentication Component
A minimalist two-factor authentication component designed for a portfolio with a triadic color scheme. It features a clean, interactive interface supporting dark mode, built using Tailwind CSS.
Two-Factor Authentication Component
A simple, industrial-themed two-factor authentication component with a gradient rainbow accent, suitable for business/corporate websites. Features responsiveness and dark mode support.
Two-Factor Authentication Component
A simple two-factor authentication component designed with glassmorphism style, suitable for e-commerce platforms. It features a monochromatic color scheme and is responsive with support for dark mode.