Registration Form 구성 요소
대시보드 환경에 적합한 차분한/채도가 낮은 색상을 사용하는 뉴모픽 스타일로 설계된 반응형 등록 양식 구성 요소입니다. 여기에는 다크 모드 지원이 포함되며 미묘한 그림자를 사용하여 돌출 효과를 만듭니다.
HTML 코드
<div class="min-h-screen flex items-center justify-center p-4 bg-gray-200 dark:bg-gray-800 transition-colors duration-300">
<div class="w-full max-w-md p-8 rounded-xl shadow-lg dark:shadow-xl dark:bg-gray-700 bg-gray-200
dark:border dark:border-gray-600
[box-shadow:8px_8px_16px_#bebebe,_-8px_-8px_16px_#ffffff]
dark:[box-shadow:8px_8px_16px_#333333,_-8px_-8px_16px_#555555]">
<h2 class="text-2xl font-semibold text-gray-700 dark:text-gray-300 mb-6 text-center">Register Account</h2>
<form>
<div class="mb-4">
<label for="username" class="block text-gray-600 dark:text-gray-400 text-sm font-medium mb-2">Username</label>
<input type="text" id="username" name="username" placeholder="Enter your username" class="w-full p-3 rounded-lg bg-gray-200 dark:bg-gray-700
text-gray-800 dark:text-gray-200 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-blue-400
[box-shadow:inset_3px_3px_6px_#bebebe,_inset_-3px_-3px_6px_#ffffff]
dark:[box-shadow:inset_3px_3px_6px_#333333,_inset_-3px_-3px_6px_#555555]" aria-label="Username field">
</div>
<div class="mb-4">
<label for="email" class="block text-gray-600 dark:text-gray-400 text-sm font-medium mb-2">Email</label>
<input type="email" id="email" name="email" placeholder="[email protected]" class="w-full p-3 rounded-lg bg-gray-200 dark:bg-gray-700
text-gray-800 dark:text-gray-200 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-blue-400
[box-shadow:inset_3px_3px_6px_#bebebe,_inset_-3px_-3px_6px_#ffffff]
dark:[box-shadow:inset_3px_3px_6px_#333333,_inset_-3px_-3px_6px_#555555]" aria-label="Email field">
</div>
<div class="mb-6">
<label for="password" class="block text-gray-600 dark:text-gray-400 text-sm font-medium mb-2">Password</label>
<input type="password" id="password" name="password" placeholder="Minimum 8 characters" class="w-full p-3 rounded-lg bg-gray-200 dark:bg-gray-700
text-gray-800 dark:text-gray-200 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-blue-400
[box-shadow:inset_3px_3px_6px_#bebebe,_inset_-3px_-3px_6px_#ffffff]
dark:[box-shadow:inset_3px_3px_6px_#333333,_inset_-3px_-3px_6px_#555555]" aria-label="Password field">
</div>
<button type="submit" class="w-full p-3 rounded-lg font-semibold text-white
bg-blue-500 hover:bg-blue-600 active:bg-blue-700
shadow-md hover:shadow-lg dark:shadow-md dark:hover:shadow-lg
[box-shadow:8px_8px_16px_#bebebe,_-8px_-8px_16px_#ffffff]
dark:[box-shadow:8px_8px_16px_#333333,_-8px_-8px_16px_#555555]
focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-offset-2
dark:focus:ring-offset-gray-700 transition-all duration-200"
aria-label="Register button">
Register
</button>
<p class="mt-6 text-center text-gray-600 dark:text-gray-400 text-sm">
Already have an account? <a href="#" class="text-blue-500 hover:text-blue-600 dark:hover:text-blue-400 font-medium" aria-label="Login link">Login here</a>
</p>
</form>
</div>
</div>
관련 구성 요소
Registration Form 구성 요소
스큐어모픽 디자인, 차분한 색 구성표 및 다크 모드 지원을 갖춘 반응형 등록 양식 구성 요소로 여행 및 관광 웹사이트에 적합합니다. 엠보싱된 버튼과 오목한 입력 필드와 같은 실제 요소를 모방합니다.
Retro_Charity_Registration_Form
레트로/빈티지 80년대/90년대 세피아/브라운 미학을 가진 간단하고 반응이 빠른 등록 양식 구성 요소로, 다크 모드 지원을 포함하여 비영리/자선 목적으로 설계되었습니다.