Components Login Form Login Form Component

Login Form Component

A simple login form component designed in a brutalist style with earth tones, suitable for blog/content purposes, and optimized for both light and dark themes.

Preview

HTML Code

<div class="flex items-center justify-center min-h-screen bg-gray-100 dark:bg-gray-900 p-4">
    <div class="bg-brown-500 shadow-lg rounded-lg p-8 max-w-md w-full">
        <h2 class="text-3xl font-bold text-white text-center mb-6">Login</h2>
        <form>
            <div class="mb-4">
                <label class="block text-white text-sm font-bold mb-2" for="username">Username</label>
                <input class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 dark:text-gray-300 bg-white dark:bg-gray-800 focus:outline-none focus:ring focus:ring-brown-300" id="username" type="text" placeholder="Enter your username" required />
            </div>
            <div class="mb-6">
                <label class="block text-white text-sm font-bold mb-2" for="password">Password</label>
                <input class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 dark:text-gray-300 bg-white dark:bg-gray-800 focus:outline-none focus:ring focus:ring-brown-300" id="password" type="password" placeholder="Enter your password" required />
            </div>
            <div class="flex items-center justify-between">
                <button class="bg-brown-600 hover:bg-brown-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline" type="submit">Login</button>
            </div>
        </form>
    </div>
</div>

Related Components

Login Form Component

A skeuomorphic login form component designed with vibrant colors and moderate complexity, suitable for a portfolio.

Open

Login Form Component

A Login Form Component designed with Glassmorphism, featuring frosted glass-like translucent elements and responsive effects, supporting dark themes using Tailwind CSS.

Open

Playful_Sports_Login_Form

A playful and cheerful login form component with rounded elements and earth-tone colors, designed for sports and fitness applications. It is fully responsive and supports dark mode.

Open