组件 密码重置 密码重置组件

密码重置组件

一个干净、值得信赖的密码重置组件,专为企业/专业新闻和媒体网站设计,具有温暖的中性、响应能力和深色模式支持。

预览

HTML 代码

<div class="flex items-center justify-center min-h-screen bg-gray-100 dark:bg-gray-900 p-4 sm:p-6 lg:p-8">
  <div class="w-full max-w-md bg-white dark:bg-gray-800 rounded-lg shadow-xl p-6 sm:p-8 border border-gray-200 dark:border-gray-700">
    <div class="text-center mb-6 sm:mb-8">
      <h1 class="text-2xl sm:text-3xl font-bold text-gray-800 dark:text-gray-100 mb-2">Reset Your Password</h1>
      <p class="text-sm text-gray-600 dark:text-gray-400">Enter your email address to receive a password reset link.</p>
    </div>
    <form>
      <div class="mb-4">
        <label for="email" class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Email Address</label>
        <input type="email" id="email" name="email" placeholder="[email protected]" class="mt-1 block w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm focus:outline-none focus:ring-amber-500 focus:border-amber-500 dark:bg-gray-700 dark:text-gray-100 dark:placeholder-gray-400 sm:text-sm text-gray-900 bg-gray-50">
      </div>
      <button type="submit" class="w-full flex justify-center py-2 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-amber-600 hover:bg-amber-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-amber-500 dark:bg-amber-700 dark:hover:bg-amber-600 dark:focus:ring-offset-gray-800">
        Send Reset Link
      </button>
    </form>
    <div class="mt-6 text-center text-sm">
      <a href="#" class="font-medium text-amber-600 hover:text-amber-500 dark:text-amber-500 dark:hover:text-amber-400">
        Remember your password? Log in
      </a>
    </div>
  </div>
</div>

相关组件

密码重置组件

一种带有仿生风格的密码重置组件,具有互补色彩方案,复杂度较高,适用于社交媒体目的,使用Tailwind CSS。响应式设计并支持暗黑主题。

打开

密码重置组件 粗犷主义 复杂 类似 仪表盘

用于仪表板的粗野主义风格密码重置组件,具有复杂布局、相似色彩方案、响应式和暗模式支持。

打开

密码重置组件

用于社交媒体的拟物化密码重置组件,具有相似的配色方案和深色模式支持。

打开