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 Login Form Component designed with Glassmorphism, featuring frosted glass-like translucent elements and responsive effects, supporting dark themes using Tailwind CSS.

Open

Neumorphism Login Form

A Neumorphism-styled login form component for a dashboard, featuring a responsive design and dark theme support using Tailwind CSS.

Open

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.

Open