Components Login/Signup Login/Signup Component

Login/Signup Component

Responsive Login/Signup Component with Dark Mode

Preview

HTML Code

<div class="min-h-screen flex items-center justify-center bg-gray-900">
  <div class="bg-gray-800 p-8 rounded-lg shadow-xl w-full max-w-md">
    <div class="tabs mb-6">
      <button class="w-1/2 py-2 text-lg font-semibold text-center text-white border-b-2 border-pink-500">Login</button>
      <button class="w-1/2 py-2 text-lg font-semibold text-center text-gray-400 hover:text-white">Sign Up</button>
    </div>
    <form>
      <div class="mb-4">
        <label for="email" class="block text-gray-400 text-sm font-bold mb-2">Email</label>
        <input type="email" id="email" class="shadow appearance-none border border-gray-700 rounded w-full py-2 px-3 text-white bg-gray-700 focus:outline-none focus:ring-pink-500 focus:border-pink-500" placeholder="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-white bg-gray-700 focus:outline-none focus:ring-pink-500 focus:border-pink-500" placeholder="Password">
      </div>
      <div class="flex items-center justify-between">
        <button class="bg-pink-500 hover:bg-pink-600 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline" type="button">
          Login
        </button>
        <a class="inline-block align-baseline font-bold text-sm text-pink-500 hover:text-pink-600" href="#">
          Forgot Password?
        </a>
      </div>
    </form>
  </div>
</div>

Related Components

LoginSignupComponent

A responsive Login/Signup component designed with Neumorphism style and pastel color scheme for social media interfaces.

Open

Brutalism Login/Signup Component

A brutalist-style Login/Signup Component with a triadic color scheme, medium complexity, responsive design, and dark mode support. Uses picsum.photos for images and randomuser.me for avatars.

Open

Login/Signup Component

A minimalist login/signup component designed with Tailwind CSS, featuring responsive effects and dark theme support. The component provides a clean and simple aesthetic while ensuring usability on various devices.

Open