组件 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>

相关组件

验证码组件

Retro/Vintage 风格的响应式 CAPTCHA 组件,具有柔和的配色方案和深色模式支持。

打开

玻璃质感验证码组件

具有 glassmorphism 设计风格的简单 CAPTCHA 组件。非常适合电子商务网站,具有磨砂玻璃般的半透明效果、深色模式支持和灰度配色方案。

打开

验证码组件

一个响应式的CAPTCHA组件,受到Material Design的启发,支持暗模式,使用Tailwind CSS。

打开