Components CAPTCHA CAPTCHA Component

CAPTCHA Component

Responsive CAPTCHA component with microinteractions, dark theme support, and random placeholder images.

Preview

HTML Code

<div class="flex items-center justify-center h-screen bg-gray-100 dark:bg-gray-900">
  <div class="bg-white dark:bg-gray-800 p-6 rounded-lg shadow-lg">
    <h2 class="text-2xl font-bold text-gray-800 dark:text-white mb-4">CAPTCHA Challenge</h2>
    <p class="text-gray-600 dark:text-gray-300 mb-4">Please verify you are not a robot.</p>
    <div class="flex items-center justify-center space-x-4 mb-4">
      <img src="https://picsum.photos/150" alt="CAPTCHA image" class="rounded">
      <button class="px-4 py-2 bg-blue-500 text-white rounded hover:bg-blue-600 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-opacity-50 transition duration-200 ease-in-out">
        Reload
      </button>
    </div>
    <input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-700 dark:border-gray-600 dark:text-white" placeholder="Enter the characters...">
    <button class="mt-4 w-full px-4 py-2 bg-green-500 text-white rounded hover:bg-green-600 focus:outline-none focus:ring-2 focus:ring-green-500 focus:ring-opacity-50 transition duration-200 ease-in-out">
      Submit
    </button>
  </div>
</div>

Related Components

Minimalist CAPTCHA

A responsive CAPTCHA component with dark mode support, featuring a minimalist design with pastel colors. Includes a simple checkbox and a placeholder for text.

Open

Brutalist CAPTCHA Component

A raw and bold CAPTCHA component designed with a grayscale color scheme, suitable for a dashboard interface, including interactive features for user verification.

Open

CAPTCHA Component

Responsive CAPTCHA component in Retro/Vintage style with Pastel color scheme and dark mode support.

Open