구성 요소 소셜 로그인 Material Design 소셜 로그인 컴포넌트

Material Design 소셜 로그인 컴포넌트

보색 구성표가 있는 머티리얼 디자인 소셜 로그인 구성 요소, 블로그/콘텐츠 목적의 중간 정도의 복잡성, Tailwind CSS를 사용하여 다크 모드 지원으로 반응합니다.

미리 보기

HTML 코드

<div class="min-h-screen bg-gray-100 dark:bg-gray-900 flex items-center justify-center">
  <div class="bg-white dark:bg-gray-800 p-8 rounded-lg shadow-md w-96">
    <h2 class="text-2xl font-semibold text-center text-gray-800 dark:text-white mb-6">Login</h2>
    <div class="flex flex-col space-y-4">
      <button class="flex items-center justify-center px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm text-sm font-medium text-gray-700 dark:text-gray-200 bg-white dark:bg-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600">
        <img class="h-5 w-5 mr-2" src="https://fonts.gstatic.com/s/i/productlogos/google/v6/24px.svg" alt="Google logo">
        Sign in with Google
      </button>
      <button class="flex items-center justify-center px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm text-sm font-medium text-gray-700 dark:text-gray-200 bg-white dark:bg-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600">
        <svg class="h-5 w-5 mr-2" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
          <path d="M12 0C5.373 0 0 5.373 0 12c0 5.083 3.791 9.362 8.75 10l-.002-.002v-.001l.002.001V17h-3v-5h3V9c0-3.306 1.976-5.164 4.936-5.164C15.232 3.836 16.5 4 16.5 4v3h-2.473c-1.742 0-2.527.873-2.527 2.075V12h4.999l-.649 5h-4.35v5.999c5-.638 8.75-4.918 8.75-10C24 5.373 18.627 0 12 0z" />
        </svg>
        Sign in with Facebook
      </button>
    </div>
    <div class="mt-6 text-center text-gray-600 dark:text-gray-400 text-sm">
      Don't have an account? <a href="#" class="text-blue-500 hover:underline">Sign up</a>
    </div>
  </div>
</div>

관련 구성 요소

미니멀리스트 소셜 로그인 구성 요소

전자 상거래를 위한 그레이스케일의 미니멀리스트 소셜 로그인 구성 요소, 단순, 반응형, 어두운 테마 지원, JavaScript 없음

열다

소셜 로그인 구성 요소

스큐어모픽 디자인, 흙색, 다크 모드를 지원하는 반응형 레이아웃을 갖춘 간단한 소셜 로그인 구성 요소입니다. 이 구성 요소는 블로그 또는 콘텐츠 소비 웹 사이트에 적합하며 시각적으로 매력적이고 사용자 친화적인 로그인 경험을 제공합니다.

열다

소셜 로그인 구성 요소

시원한 중성색을 사용하는 산업적, 원자재 미학을 가진 소셜 로그인 구성 요소로, 예약 및 예약 시스템에 적합합니다. 소셜 로그인 버튼과 수동 로그인 옵션이 있는 구분 기호가 있으며, 모두 반응이 빠르고 다크 모드를 지원합니다.

열다