认证组件

带有暗模式、响应效果且无JavaScript依赖的身份验证组件。

预览

HTML 代码

<div class="min-h-screen flex items-center justify-center bg-gray-900">
  <div class="bg-gray-800 p-10 rounded-lg shadow-xl w-full max-w-md">
    <h1 class="text-white text-center text-2xl font-bold mb-6">Login</h1>
    <form>
      <div class="mb-4">
        <label for="email" class="block text-gray-400 text-sm font-bold mb-2">Email Address</label>
        <input type="email" id="email" class="shadow appearance-nonse border border-gray-700 rounded w-full py-2 px-3 text-gray-200 leading-tight focus:outline-none focus:shadow-outline bg-gray-700" placeholder="Enter your email">
      </div>
      <div class="mb-6">
        <label for="password" class="block text-gray-400 text-sm font-bold mb-2">Password</label>
        <input type="password" id="password" class="shadow appearance-none border border-gray-700 rounded w-full py-2 px-3 text-gray-200 leading-tight focus:outline-none focus:shadow-outline bg-gray-700" placeholder="Enter your password">
      </div>
      <div class="flex items-center justify-between">
        <button type="submit" class="bg-blue-600 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline">Sign In</button>
        <a class="inline-block align-baseline font-bold text-sm text-blue-500 hover:text-blue-700" href="#">Forgot Password?</a>
      </div>
    </form>
  </div>
</div>

相关组件

认证组件

一个拟物化身份验证组件,使用Tailwind CSS设计,具有响应效果和深色主题支持。

打开

Authentication_Components_Component

一个简单且响应迅速的社交媒体身份验证组件,具有微交互、互补配色方案和使用 Tailwind CSS 的深色主题支持。

打开

复古身份验证组件

一个复杂的响应式认证组件,具有复古风格的设计,适合数据可视化和控制仪表板。它采用三原色和交互元素。

打开