Components Login/Signup Login/Signup Component

Login/Signup Component

A simple Login/Signup component designed for dark mode with a pastel color scheme, suitable for a portfolio.

Preview

HTML Code

<div class="min-h-screen flex items-center justify-center bg-gray-900 text-gray-200">
    <div class="bg-gray-800 rounded-lg shadow-lg p-8 max-w-sm w-full">
        <h2 class="text-2xl font-semibold mb-6 text-center">Welcome to My Portfolio</h2>
        <form>
            <div class="mb-4">
                <label class="block text-sm mb-2" for="email">Email</label>
                <input type="email" id="email" placeholder="[email protected]" class="w-full px-4 py-2 rounded bg-gray-700 border border-gray-600 focus:outline-none focus:border-gray-500" required />
            </div>
            <div class="mb-6">
                <label class="block text-sm mb-2" for="password">Password</label>
                <input type="password" id="password" placeholder="your password" class="w-full px-4 py-2 rounded bg-gray-700 border border-gray-600 focus:outline-none focus:border-gray-500" required />
            </div>
            <button type="submit" class="w-full py-2 bg-green-600 hover:bg-green-500 text-white rounded">Login</button>
        </form>
        <div class="text-center mt-4">
            <p class="text-sm">Don't have an account? <a href="#" class="text-green-400 hover:underline">Sign Up</a></p>
        </div>
    </div>
</div>
<!-- Dark Mode Styles -->
<div class="dark:bg-gray-900 dark:text-gray-200">
    <div class="dark:bg-gray-800 dark:border-gray-700">
        <input type="email" class="dark:bg-gray-700 dark:border-gray-600">
        <input type="password" class="dark:bg-gray-700 dark:border-gray-600">
    </div>
</div>

Related Components

Login/Signup Component

3D Monochromatic Login/Signup Form

Open

Login/Signup Component

A simple, clean, and minimalist login/signup component with a Swiss/International typography style and a cheerful candy/sweet color scheme, designed for business/corporate websites. It is fully responsive and includes dark mode support.

Open

Industrial_Candy_Login_Signup_Component

A responsive login/signup component with an industrial raw aesthetic combined with bright candy colors. Features exposed elements, utilitarian design, and full dark mode support, suitable for a blog or content platform.

Open