구성 요소 캡차 복합 CAPTCHA 구성 요소

복합 CAPTCHA 구성 요소

다크 모드와 생생한 색상을 가진 소셜 미디어 애플리케이션을 위한 복잡한 CAPTCHA 구성 요소입니다.

미리 보기

HTML 코드

<div class="flex items-center justify-center h-screen bg-gray-900 dark:bg-black p-6">
  <div class="bg-gray-800 dark:bg-gray-900 rounded-lg shadow-xl p-8 w-full max-w-md">
    <h2 class="text-2xl font-bold text-purple-400 mb-6 text-center">CAPTCHA Verification</h2>
    
    <div class="mb-6">
      <label class="block text-yellow-400 text-sm font-semibold mb-2" for="captcha-text">
        Please type the characters you see in the image:
      </label>
      <div class="flex items-center space-x-4">
        <img src="https://picsum.photos/150/60?random=1" alt="CAPTCHA Image" class="rounded">
        <input
          class="shadow appearance-none border border-gray-700 bg-gray-900 dark:bg-gray-800 rounded w-full py-3 px-4 text-teal-400 leading-tight focus:outline-none focus:ring-2 focus:ring-teal-500"
          id="captcha-text"
          type="text"
          placeholder="Enter characters here"
        >
      </div>
    </div>
    
    <div class="mb-6">
      <label class="block text-yellow-400 text-sm font-semibold mb-2" for="captcha-audio">
        Alternatively, listen to the audio and type the numbers:
      </label>
      <div class="flex items-center space-x-4">
        <audio controls class="w-full">
          <source src="your-audio-file.mp3" type="audio/mpeg">
          Your browser does not support the audio element.
        </audio>
      </div>
    </div>

    <div class="mb-6">
        <label class="block text-yellow-400 text-sm font-semibold mb-2" for="captcha-drag-drop">
          Drag and drop the slider to match the image:
        </label>
        <div class="relative w-full h-10 bg-gray-700 rounded-full">
            <div class="absolute top-0 left-0 h-10 w-10 bg-pink-500 rounded-full shadow flex items-center justify-center text-white font-bold cursor-pointer" style="left: 0%;">
                drag
            </div>
            <div class="absolute top-0 right-0 h-10 w-10 bg-purple-500 rounded-full shadow flex items-center justify-center text-white font-bold">
                drop
            </div>
        </div>
    </div>
    
    <div class="flex items-center justify-between">
      <button
        class="bg-teal-500 hover:bg-teal-600 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline transition duration-300 ease-in-out transform hover:-translate-y-1"
        type="button"
      >
        Verify
      </button>
      <button
        class="inline-block align-baseline font-bold text-sm text-purple-400 hover:text-purple-600"
        type="button"
      >
        Cannot see or hear?
      </button>
    </div>
  </div>
</div>

관련 구성 요소

CAPTCHA 구성 요소 - Candy Material Design

사탕 테마의 머티리얼 디자인 미학이 있는 간단하고 반응이 빠른 CAPTCHA 구성 요소로, 이벤트 및 컨퍼런스 웹 사이트에 적합합니다. 다크 모드 지원이 포함됩니다.

열다

CAPTCHA 구성 요소

생생한 색상과 반응형 디자인의 대시보드를 위해 설계된 3D 스타일의 CAPTCHA 구성 요소로, 다크 모드를 지원합니다.

열다

CAPTCHA 구성 요소

스위스/국제 타이포그래피 디자인 스타일과 생생한 색 구성표를 갖춘 복잡하고 반응이 빠른 CAPTCHA 구성 요소로, CRM/비즈니스 도구에 적합합니다. 다크 모드 지원이 포함됩니다.

열다