组件 登录/注册 Monospace_Dating_Login_Signup_Component

Monospace_Dating_Login_Signup_Component

一个简单、响应式的登录/注册组件,适用于约会/社交平台,采用等宽、受代码启发的设计。具有黑白单色和明亮的强调色,并完全支持深色模式。

预览

HTML 代码

<div class="min-h-screen bg-gray-100 dark:bg-gray-900 flex items-center justify-center p-4">
  <div class="max-w-md w-full bg-white dark:bg-gray-800 shadow-lg rounded-lg overflow-hidden border-2 border-gray-900 dark:border-gray-100 font-mono">
    <div class="bg-gray-900 dark:bg-gray-100 text-green-400 dark:text-gray-900 p-3 flex items-center justify-between text-sm">
      <span class="flex items-center">
        <span class="h-2 w-2 rounded-full bg-red-500 mr-1"></span>
        <span class="h-2 w-2 rounded-full bg-yellow-500 mr-1"></span>
        <span class="h-2 w-2 rounded-full bg-green-500"></span>
      </span>
      <span class="terminal-title">_date_terminal.sh</span>
      <span></span>
    </div>
    <div class="p-6 lg:p-8">
      <h2 class="text-2xl lg:text-3xl font-bold mb-6 text-center text-gray-900 dark:text-gray-100">
        <span class="text-green-500 dark:text-pink-500">_</span>CONNECT
      </h2>

      <div class="mb-4">
        <label for="username" class="block text-gray-700 dark:text-gray-300 text-sm font-bold mb-2">
          username:
        </label>
        <input type="text" id="username" placeholder="_your_handle_here" class="shadow appearance-none border border-gray-400 dark:border-gray-600 rounded w-full py-2 px-3 text-gray-700 dark:text-gray-300 leading-tight focus:outline-none focus:shadow-outline bg-gray-50 dark:bg-gray-700 focus:border-green-500 dark:focus:border-pink-500 transition-colors duration-200">
      </div>

      <div class="mb-6">
        <label for="password" class="block text-gray-700 dark:text-gray-300 text-sm font-bold mb-2">
          password:
        </label>
        <input type="password" id="password" placeholder="_secret_chars_" class="shadow appearance-none border border-gray-400 dark:border-gray-600 rounded w-full py-2 px-3 text-gray-700 dark:text-gray-300 mb-3 leading-tight focus:outline-none focus:shadow-outline bg-gray-50 dark:bg-gray-700 focus:border-green-500 dark:focus:border-pink-500 transition-colors duration-200">
      </div>

      <div class="flex flex-col space-y-3">
        <button type="button" class="bg-green-500 hover:bg-green-600 dark:bg-pink-500 dark:hover:bg-pink-600 text-white dark:text-gray-900 font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline transition-colors duration-200 text-lg">
          LOGIN_()
        </button>
        <button type="button" class="bg-gray-700 hover:bg-gray-900 dark:bg-gray-200 dark:hover:bg-gray-50 text-white dark:text-gray-900 font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline transition-colors duration-200 text-lg">
          SIGNUP_()
        </button>
      </div>

      <div class="mt-6 text-center text-sm">
        <a href="#" class="inline-block align-baseline font-bold text-green-500 hover:text-green-800 dark:text-pink-500 dark:hover:text-pink-800 transition-colors duration-200">
          _FORGOT_PW?
        </a>
      </div>
    </div>
  </div>
</div>

相关组件

Brutalist_Agri_Auth_Component

适用于农业/农业网站的野兽派风格登录/注册组件,具有温暖的日落色调、高对比度和复杂的布局,支持深色模式。

打开

复古仪表板登录/注册

一个复古/怀旧主题的登录和注册组件,用于仪表板,具有复杂的布局和三原色配色方案。包括使用Tailwind CSS的响应式设计和深色模式支持。

打开

赛博朋克登录/注册表格

一个复杂的响应式登录/注册组件,具有赛博朋克美学,具有深色背景、霓虹灯渐变和交互式元素,专为教育平台设计。

打开