구성 요소 로그인 양식 로그인 양식 구성 요소

로그인 양식 구성 요소

스큐어모픽 디자인, 단색 색 구성표 및 어두운 테마 지원을 갖춘 반응형 로그인 양식 구성 요소로 비즈니스 웹 사이트에 적합합니다.

미리 보기

HTML 코드

<div class="min-h-screen flex items-center justify-center bg-gray-200 dark:bg-gray-900 p-4">
  <div class="bg-white dark:bg-gray-800 p-10 rounded-xl shadow-2xl w-full max-w-md transform transition-all duration-300 hover:scale-105 border-t-4 border-blue-500 dark:border-blue-700">
    <h2 class="text-4xl font-extrabold text-center text-gray-800 dark:text-white mb-8">
      <span class="block">Welcome Back!</span>
      <span class="block text-blue-500 dark:text-blue-400 text-2xl mt-2">Login to your account</span>
    </h2>
    <form class="space-y-6">
      <div class="relative">
        <input type="email" id="email" class="block w-full px-4 py-3 rounded-lg text-gray-900 dark:text-white bg-gray-100 dark:bg-gray-700 border border-gray-300 dark:border-gray-600 focus:ring-blue-500 focus:border-blue-500 dark:focus:ring-blue-400 dark:focus:border-blue-400 shadow-inner appearance-none transition-all duration-300 peer placeholder-transparent" placeholder=" "/>
        <label for="email" class="absolute left-4 -top-2.5 text-gray-600 dark:text-gray-300 text-sm bg-gray-100 dark:bg-gray-700 px-1 transition-all duration-300 peer-placeholder-shown:text-base peer-placeholder-shown:text-gray-400 peer-placeholder-shown:top-3.5 peer-focus:-top-2.5 peer-focus:text-blue-600 dark:peer-focus:text-blue-400 peer-focus:text-sm">Email Address</label>
      </div>
      <div class="relative">
        <input type="password" id="password" class="block w-full px-4 py-3 rounded-lg text-gray-900 dark:text-white bg-gray-100 dark:bg-gray-700 border border-gray-300 dark:border-gray-600 focus:ring-blue-500 focus:border-blue-500 dark:focus:border-blue-400 dark:focus:ring-blue-400 shadow-inner appearance-none transition-all duration-300 peer placeholder-transparent" placeholder=" "/>
        <label for="password" class="absolute left-4 -top-2.5 text-gray-600 dark:text-gray-300 text-sm bg-gray-100 dark:bg-gray-700 px-1 transition-all duration-300 peer-placeholder-shown:text-base peer-placeholder-shown:text-gray-400 peer-placeholder-shown:top-3.5 peer-focus:-top-2.5 peer-focus:text-blue-600 dark:peer-focus:text-blue-400 peer-focus:text-sm">Password</label>
      </div>
      <div class="flex items-center justify-between">
        <div class="flex items-center">
          <input id="remember_me" name="remember_me" type="checkbox" class="h-5 w-5 text-blue-600 dark:text-blue-500 rounded border-gray-300 dark:border-gray-600 focus:ring-blue-500 dark:focus:ring-blue-400">
          <label for="remember_me" class="ml-3 block text-base text-gray-700 dark:text-gray-300">Remember me</label>
        </div>
        <div class="text-base">
          <a href="#" class="font-medium text-blue-600 dark:text-blue-500 hover:text-blue-500 dark:hover:text-blue-400 transition-colors duration-300">Forgot your password?</a>
        </div>
      </div>
      <div>
        <button type="submit" class="w-full flex justify-center py-3 px-4 border border-transparent rounded-lg shadow-lg text-lg font-semibold text-white bg-blue-600 dark:bg-blue-700 hover:bg-blue-700 dark:hover:bg-blue-800 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 dark:focus:ring-blue-400 dark:focus:ring-offset-gray-800 transition-all duration-300 transform hover:-translate-y-1 active:translate-y-0 active:shadow-inner-blue-800 skew-y-1 hover:skew-y-0">
          <span class="">Sign in</span>
          <svg class="ml-3 w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 9l3 3m0 0l-3 3m3-3H8m13 0a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>
        </button>
      </div>
    </form>
    <div class="mt-8 text-center">
      <p class="text-base text-gray-600 dark:text-gray-400">Don't have an account? <a href="#" class="font-medium text-blue-600 dark:text-blue-500 hover:text-blue-500 dark:hover:text-blue-400 transition-colors duration-300">Sign up</a></p>
    </div>
  </div>
</div>

관련 구성 요소

로그인 양식 구성 요소

흙색의 브루탈리즘 스타일로 디자인된 간단한 로그인 양식 구성 요소로, 블로그/콘텐츠 목적에 적합하며 밝은 테마와 어두운 테마 모두에 최적화되어 있습니다.

열다

3D 로그인 양식 구성 요소

3D 디자인, 트라이어딕 색 구성표 및 어두운 테마를 지원하는 반응형 로그인 양식입니다. 소셜 미디어 인터페이스에 적합합니다.

열다

Neumorphism 로그인 양식

뉴모피즘(Neumorphism) 스타일로 디자인된 로그인 양식 컴포넌트로, Tailwind CSS를 사용하여 반응형 디자인과 어두운 테마를 지원합니다.

열다