组件 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 组件,适用于具有鲜艳色彩和中等复杂性的仪表板。

打开

CAPTCHA 组件

一个复杂的、受代码启发的 CAPTCHA 组件,具有糖果/糖果配色方案,专为社交媒体界面设计。具有响应式布局、深色模式支持和交互式元素。

打开

Glassmorphism Captcha 组件

一个简单、响应式 glassmorphism 风格的 CAPTCHA 组件,具有灰度配色方案和深色模式支持,适用于博客或内容网站。

打开