コンポーネント キャプチャ CAPTCHAコンポーネント

CAPTCHAコンポーネント

スイス/インターナショナルタイポグラフィのデザインスタイルと鮮やかな配色を備えた、複雑で応答性の高いCAPTCHAコンポーネントで、CRM/ビジネスツールに適しています。ダークモードのサポートが含まれています。

プレビュー

HTMLコード

<div class="flex items-center justify-center min-h-screen p-4 bg-gray-100 dark:bg-gray-900 font-sans">
  <div class="w-full max-w-sm p-6 bg-white dark:bg-gray-800 rounded-lg shadow-xl border border-gray-200 dark:border-gray-700 space-y-6 md:p-8">
    <h2 class="text-2xl font-bold tracking-tight text-gray-900 dark:text-white text-center sm:text-3xl lg:text-4xl">
      Security Check
    </h2>
    <p class="text-sm text-gray-600 dark:text-gray-300 text-center leading-relaxed mb-4">
      Please complete the security check to proceed.
    </p>

    <div class="space-y-4">
      <!-- CAPTCHA Display Area -->
      <div class="relative bg-gradient-to-r from-red-500 via-pink-500 to-purple-500 p-1 rounded-md shadow-inner">
        <div class="w-full h-24 sm:h-32 flex items-center justify-center bg-gray-200 dark:bg-gray-700 rounded-md overflow-hidden relative">
          <span class="text-4xl sm:text-5xl lg:text-6xl font-extrabold text-blue-800 dark:text-blue-200 tracking-widest leading-none select-none italic transform -rotate-6">
            kL5pQRt9
          </span>
          <!-- Noise Overlay -->
          <div class="absolute inset-0 bg-gradient-to-br from-transparent to-black opacity-10 dark:opacity-20 pointer-events-none"></div>
          <div class="absolute inset-0 flex items-center justify-center p-2">
            <!-- Placeholder lines or distortions -->
            <div class="w-full h-px bg-yellow-400 absolute top-1/3 left-0 transform rotate-3"></div>
            <div class="w-full h-px bg-green-400 absolute bottom-1/4 right-0 transform -rotate-5"></div>
          </div>
        </div>
      </div>

      <!-- Input Field -->
      <div>
        <label for="captcha-input" class="sr-only">Enter CAPTCHA here</label>
        <input type="text" id="captcha-input" placeholder="Enter the text above" class="w-full p-3 sm:p-4 border border-blue-400 dark:border-blue-600 rounded-md focus:ring-4 focus:ring-blue-300 dark:focus:ring-blue-800 focus:border-blue-500 dark:focus:border-blue-700 dark:bg-gray-700 dark:text-white placeholder-gray-500 dark:placeholder-gray-400 outline-none text-base sm:text-lg tracking-wider transition-all duration-200 ease-in-out">
      </div>

      <!-- Action Buttons -->
      <div class="grid grid-cols-2 gap-3 sm:gap-4 md:flex md:justify-end md:space-x-4">
        <button type="button" class="w-full md:w-auto p-3 sm:p-4 text-center text-sm sm:text-base font-medium rounded-md focus:outline-none focus:ring-4 transition-all duration-200 ease-in-out
          bg-blue-100 text-blue-800 dark:bg-blue-900 dark:text-blue-200 hover:bg-blue-200 dark:hover:bg-blue-800 focus:ring-blue-300 dark:focus:ring-blue-800 shadow-sm">
          <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 sm:h-6 sm:w-6 inline-block mr-2" viewBox="0 0 20 20" fill="currentColor">
            <path fill-rule="evenodd" d="M4 2a1 1 0 011 1v2.101a7.002 7.002 0 0111.601 2.566 1 1 0 11-1.885.666A5.002 5.002 0 005 7c-1.378 0-2.684.254-3.86-.713a1 1 0 010-1.419A1 1 0 012 4h-.002zm14 8a1 1 0 01-1 1v2.101a7.002 7.002 0 01-11.601 2.566 1 1 0 111.885.666A5.002 5.002 0 0015 13c1.378 0 2.684.254 3.86.713a1 1 0 010 1.419A1 1 0 0118 16h-.002z" clip-rule="evenodd" />
          </svg>
          Refresh
        </button>

        <button type="submit" class="w-full md:w-auto p-3 sm:p-4 text-center text-sm sm:text-base font-semibold rounded-md focus:outline-none focus:ring-4 transition-all duration-200 ease-in-out
          bg-gradient-to-r from-teal-500 to-emerald-600 text-white hover:from-teal-600 hover:to-emerald-700 focus:ring-teal-300 dark:focus:ring-teal-800 shadow-lg">
          Verify
          <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 sm:h-6 sm:w-6 inline-block ml-2" viewBox="0 0 20 20" fill="currentColor">
            <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" />
          </svg>
        </button>
      </div>
    </div>

    <div class="pt-4 border-t border-gray-200 dark:border-gray-700 text-center">
      <p class="text-xs text-gray-500 dark:text-gray-400">
        Having trouble? <a href="#" class="text-blue-600 dark:text-blue-400 hover:underline font-medium">Contact support</a>
      </p>
    </div>
  </div>
</div>

関連コンポーネント

Retro_Vintage_Captcha_Component

ビジネス/企業Webサイト向けのレトロ/ビンテージをテーマにしたCAPTCHAコンポーネントで、類似の配色、レスポンシブデザイン、ダークモードのサポートが特徴です。80年代/90年代の美学を呼び起こします。

開ける

CAPTCHAコンポーネント

マテリアルデザインの原則とTailwind CSSを使用してスタイル設定されたCAPTCHAコンポーネントで、eコマースWebサイトに最適で、ダークテーマのサポートとレスポンシブデザインを備えています。

開ける

レトロビンテージCAPTCHAコンポーネント

ノスタルジックでレトロな美学と鮮やかな配色でデザインされたシンプルなCAPTCHAコンポーネントで、ビジネスや企業のWebサイトに最適で、ダークモードがサポートされています。

開ける