组件 CAPTCHA 验证码 材料设计验证码组件

材料设计验证码组件

一个响应式CAPTCHA组件,采用材料设计原则风格,包括暗黑主题支持.

预览

HTML 代码

<div class="flex flex-col items-center justify-center p-6 bg-white rounded-lg shadow-md max-w-sm mx-auto dark:bg-gray-800 dark:shadow-lg">
    <h2 class="text-lg font-semibold text-gray-800 dark:text-gray-200">Please prove you're human</h2>
    <div class="mt-4 mb-6">
        <img src="https://picsum.photos/200/100" alt="CAPTCHA Image" class="w-full h-auto rounded-lg shadow-sm" />
    </div>
    <div class="flex items-center justify-between w-full">
        <input type="text" placeholder="Enter the text" class="border border-gray-300 rounded-lg p-2 w-3/4 dark:bg-gray-700 dark:border-gray-600 dark:text-gray-200" />
        <button class="ml-2 px-4 py-2 bg-blue-500 text-white rounded-lg shadow hover:bg-blue-600 transition duration-200">Submit</button>
    </div>
    <div class="mt-4 text-sm text-gray-600 dark:text-gray-400">
        <p>If you can't read the text, refresh to get a new image.</p>
    </div>
</div>

相关组件

复古/古董 CAPTCHA 组件

一个复古风格的验证码组件,专为社交媒体界面设计,具有鲜艳的色彩和复杂的布局,支持响应式设计和深色主题。

打开

验证码组件

一个 Material Design 样式的 CAPTCHA 组件,用于增强作品集网站的安全性,具有深色主题和带有 Tailwind CSS 的响应式设计。

打开

复古怀旧验证码用于社交媒体

用于社交媒体的复古 CAPTCHA 组件,具有鲜艳的色彩、适中的复杂性、响应能力以及使用 Tailwind CSS 的深色模式支持。

打开