Two-Factor Authentication 구성 요소
생생한 색 구성표에서 Neumorphism으로 설계된 반응형 2단계 인증 구성 요소로, 비즈니스 웹 사이트에 적합하고 Tailwind CSS로 다크 모드를 지원합니다.
HTML 코드
<div class="flex items-center justify-center min-h-screen bg-gray-100 dark:bg-gray-900 p-4">
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-xl p-8 transform transition-all duration-500 hover:shadow-2xl">
<h2 class="text-center text-2xl font-semibold text-gray-800 dark:text-gray-200 mb-6">Two-Factor Authentication</h2>
<p class="text-center text-gray-600 dark:text-gray-400 mb-4">Secure your account with an additional layer of protection.</p>
<div class="mb-4">
<label class="block text-gray-700 dark:text-gray-300 mb-2" for="phone">Phone Number</label>
<input type="text" id="phone" class="w-full p-2 rounded bg-gray-200 dark:bg-gray-700 border border-gray-300 dark:border-gray-600 focus:outline-none focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-600" placeholder="Enter your phone number" />
</div>
<div class="mb-6">
<label class="block text-gray-700 dark:text-gray-300 mb-2" for="code">Authentication Code</label>
<input type="text" id="code" class="w-full p-2 rounded bg-gray-200 dark:bg-gray-700 border border-gray-300 dark:border-gray-600 focus:outline-none focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-600" placeholder="Enter the authentication code" />
</div>
<button class="w-full bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 rounded focus:outline-none focus:ring-2 focus:ring-blue-400 dark:focus:ring-blue-500">Verify</button>
<div class="text-center mt-4">
<p class="text-gray-600 dark:text-gray-400">Or</p>
<a href="#" class="text-blue-500 hover:underline">Use an Authenticator App</a>
</div>
<div class="mt-6">
<img src="https://picsum.photos/200/100" alt="Random image" class="rounded-lg shadow-md dark:shadow-lg" />
</div>
</div>
</div>
관련 구성 요소
Two-Factor Authentication 구성 요소
Tailwind CSS를 사용하여 브루탈리즘 디자인 스타일의 2단계 인증 구성 요소로, 반응형 효과와 어두운 테마 지원이 특징입니다.
Two-Factor Authentication 구성 요소
소셜 미디어용으로 설계된 간단하고 반응이 빠른 이중 인증 구성 요소는 3D 디자인 스타일과 회색조 색 구성표와 인터페이스합니다.
Two-Factor Authentication 구성 요소
바다/파란색 그라데이션과 부드러운 전환으로 설계된 복잡하고 반응이 빠른 2FA(Two-Factor Authentication) 구성 요소로, 뉴스 웹 사이트 및 미디어 매체에 적합합니다. 다크 모드 지원과 풍부한 대화형 인터페이스가 포함되어 있습니다.