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 responsive two-factor authentication component using Tailwind CSS with dark theme support. Features a minimalist/flat design, monochromatic color scheme, complex layout with multiple interactive elements suitable for e-commerce.
Two-Factor Authentication Component
A Skeuomorphic Two-Factor Authentication Component for Social Media with Complementary Colors, Complex UI, Responsive Design, and Dark Mode Support using Tailwind CSS.
Two-Factor Authentication Component
A two-factor authentication component designed with microinteractions, responsive effects, and dark theme support using Tailwind CSS.