Components Login Form Login Form Component

Login Form Component

A responsive login form component designed with Material Design principles and styled using Tailwind CSS. It features an Earth tones color scheme and a simple layout suitable for a blog or content consumption platform, with dark theme support.

Preview

HTML Code

<div class="min-h-screen flex items-center justify-center bg-gray-50 dark:bg-gray-900 p-6">
    <div class="bg-white dark:bg-gray-800 shadow-lg rounded-lg p-8 w-full max-w-md">
        <h2 class="text-2xl font-semibold text-gray-800 dark:text-white mb-6 text-center">Login</h2>
        <form>
            <div class="mb-4">
                <label class="block text-gray-700 dark:text-gray-300 mb-2" for="email">Email</label>
                <input type="email" id="email" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 dark:text-gray-300 leading-tight focus:outline-none focus:shadow-outline dark:bg-gray-700 dark:border-gray-600" placeholder="[email protected]" required>
            </div>
            <div class="mb-6">
                <label class="block text-gray-700 dark:text-gray-300 mb-2" for="password">Password</label>
                <input type="password" id="password" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 dark:text-gray-300 leading-tight focus:outline-none focus:shadow-outline dark:bg-gray-700 dark:border-gray-600" placeholder="••••••••" required>
            </div>
            <div class="flex items-center justify-between">
                <button type="submit" class="bg-green-500 hover:bg-green-400 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline">Login</button>
            </div>
        </form>
        <p class="mt-4 text-center text-gray-600 dark:text-gray-400">
            Don’t have an account? <a href="#" class="text-green-500 hover:text-green-400">Sign up</a>
        </p>
    </div>
</div>

Related Components

3D Login Form Component

A responsive 3D Login Form Component designed for business/corporate websites, incorporating earth tones and dark mode support.

Open

Login Form Component

A minimalist login form component designed with a triadic color scheme suitable for portfolio showcasing with dark mode support.

Open

Login Form Component

A responsive login form component designed with Glassmorphism style, incorporating frosted glass effects, blur effects, and support for dark mode using Tailwind CSS.

Open