Componente CAPTCHA
Componente CAPTCHA responsivo con microinteracciones, compatibilidad con temas oscuros e imágenes de marcador de posición aleatorias.
Código HTML
<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>
Componentes relacionados
Componente CAPTCHA de modo oscuro
Un componente CAPTCHA diseñado para la interfaz de usuario del modo oscuro con efectos responsivos y compatibilidad con temas oscuros.
Componente CAPTCHA - Brutalismo, Vibrante, Moderado
Un componente CAPTCHA brutalista para un tablero con colores vibrantes y complejidad moderada.
Componente CAPTCHA
Un componente CAPTCHA responsivo inspirado en Material Design con soporte para modo oscuro, usando Tailwind CSS.