组件 CAPTCHA 验证码 复古验证码组件

复古验证码组件

一个以复古/复古美学和柔和色彩样式设计的CAPTCHA组件,专为支持暗模式的数据可视化仪表板设计.

预览

HTML 代码

<div class="flex flex-col items-center justify-center p-8 bg-gray-200 dark:bg-gray-800 rounded-lg shadow-lg">
    <h2 class="text-2xl font-bold text-gray-800 dark:text-gray-100 mb-4">Please Verify You're Not a Robot</h2>
    <p class="text-lg text-gray-600 dark:text-gray-200 mb-6">Select the images containing:</p>
    <div class="grid grid-cols-2 gap-4">
        <img src="https://picsum.photos/200/200?random=1" alt="CAPTCHA Option 1" class="cursor-pointer hover:scale-105 transition-transform duration-200 rounded-lg shadow-md"> 
        <img src="https://picsum.photos/200/200?random=2" alt="CAPTCHA Option 2" class="cursor-pointer hover:scale-105 transition-transform duration-200 rounded-lg shadow-md"> 
        <img src="https://picsum.photos/200/200?random=3" alt="CAPTCHA Option 3" class="cursor-pointer hover:scale-105 transition-transform duration-200 rounded-lg shadow-md"> 
        <img src="https://picsum.photos/200/200?random=4" alt="CAPTCHA Option 4" class="cursor-pointer hover:scale-105 transition-transform duration-200 rounded-lg shadow-md"> 
    </div>
    <div class="flex flex-col items-center mt-6">
        <label class="flex items-center mb-4">
            <input type="checkbox" class="text-purple-500 border-gray-300 dark:border-gray-600 rounded mr-2" />
            <span class="text-gray-800 dark:text-gray-100">I confirm I'm not a robot</span>
        </label>
        <button class="bg-blue-500 hover:bg-blue-400 text-white font-bold py-2 px-4 rounded shadow-md transition duration-200">Verify</button>
    </div>
    <div class="mt-4">
        <img src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" class="w-10 h-10 rounded-full border-2 border-gray-300 dark:border-gray-600">
    </div>
    <p class="mt-2 text-sm text-gray-500 dark:text-gray-400">User Avatar</p>
</div>

相关组件

新拟态验证码组件

一个响应式、复杂的验证码组件,采用拟物化风格,专为电子商务网站设计,支持深色主题,使用Tailwind CSS。

打开

CAPTCHA 组件

具有三元配色方案的 Glassmorphism 风格的 CAPTCHA 组件,适用于社交媒体平台。具有具有模糊效果的磨砂玻璃状半透明元素,具有中等复杂度和一些交互式功能。该设计是响应式的,并包括深色模式支持。

打开

粗野主义验证码组件

一个具有灰度色彩方案的原始而大胆的验证码组件,适用于仪表板界面,包括用户验证的交互功能。

打开