组件 登录表格 拟物化登录表单

拟物化登录表单

一个具有灰度色彩方案和复杂性的拟物化登录表单组件,专为个人作品网站设计。它是响应式的,支持深色主题。

预览

HTML 代码

<div class="min-h-screen bg-gray-200 flex items-center justify-center dark:bg-gray-900">
  <div class="bg-white p-10 rounded-lg shadow-xl w-96 dark:bg-gray-800">
    <h2 class="text-3xl font-bold text-center mb-8 text-gray-800 dark:text-white">Login</h2>
    <form>
      <div class="mb-5">
        <label for="email" class="block text-sm font-medium text-gray-600 mb-2 dark:text-gray-300">Email</label>
        <input type="email" id="email" class="w-full px-4 py-3 rounded-md border border-gray-300 focus:outline-none focus:ring-2 focus:ring-gray-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white dark:focus:ring-gray-600" placeholder="[email protected]">
      </div>
      <div class="mb-6">
        <label for="password" class="block text-sm font-medium text-gray-600 mb-2 dark:text-gray-300">Password</label>
        <input type="password" id="password" class="w-full px-4 py-3 rounded-md border border-gray-300 focus:outline-none focus:ring-2 focus:ring-gray-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white dark:focus:ring-gray-600" placeholder="********">
      </div>
      <button type="submit" class="w-full bg-gray-700 text-white py-3 rounded-md hover:bg-gray-800 focus:outline-none focus:ring-2 focus:ring-gray-500 dark:bg-gray-600 dark:hover:bg-gray-700 dark:focus:ring-gray-600">
        Login
      </button>
    </form>
    <p class="text-center text-gray-600 mt-6 text-sm dark:text-gray-400">
      Don't have an account? <a href="#" class="text-gray-700 hover:underline dark:text-gray-300">Sign Up</a>
    </p>
  </div>
</div>

相关组件

登录表单组件 - 深色模式充满活力

一个复杂的响应式登录表单组件,专为企业/企业使用而设计,具有鲜艳的配色方案和完整的深色模式支持,旨在减轻眼睛疲劳。

打开

登录表单组件

一个 3D 设计的登录表单组件,具有三元配色方案,适用于电子商务,具有深色主题支持和响应能力,使用 Tailwind CSS 构建。

打开

RetroLoginFormComponent

响应式、支持深色主题、大地色调的复古/复古登录表单,适用于商业/公司网站。使用最少的元素。

打开