Komponenten Login/Registrierung Login/Signup-Komponente

Login/Signup-Komponente

Eine komplexe Login/Signup-Komponente, die mit einem skeuomorphen Stil entworfen wurde und ein Graustufen-Farbschema für eine Dashboard-Oberfläche verwendet. Es enthält verschiedene interaktive Elemente und ist reaktionsschnell mit Unterstützung für dunkle Themen.

Vorschau

HTML-Code

<div class="min-h-screen bg-white dark:bg-gray-800 flex items-center justify-center">
    <div class="bg-gray-200 dark:bg-gray-700 rounded-lg shadow-lg p-8 max-w-md w-full">
        <h2 class="text-2xl font-bold text-gray-800 dark:text-gray-100 mb-6 text-center">Login / Signup</h2>
        <form>
            <div class="mb-4">
                <label class="block text-gray-700 dark:text-gray-300 mb-1" for="username">Username</label>
                <input class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 dark:text-gray-100 leading-tight focus:outline-none focus:shadow-outline" id="username" type="text" placeholder="Enter your username">
            </div>
            <div class="mb-4">
                <label class="block text-gray-700 dark:text-gray-300 mb-1" for="email">Email</label>
                <input class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 dark:text-gray-100 leading-tight focus:outline-none focus:shadow-outline" id="email" type="email" placeholder="Enter your email">
            </div>
            <div class="mb-4">
                <label class="block text-gray-700 dark:text-gray-300 mb-1" for="password">Password</label>
                <input class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 dark:text-gray-100 leading-tight focus:outline-none focus:shadow-outline" id="password" type="password" placeholder="Enter your password">
            </div>
            <div class="flex items-center justify-between mb-6">
                <div class="flex items-center">
                    <input type="checkbox" class="mr-2 leading-tight" id="remember">
                    <label class="text-gray-600 dark:text-gray-300" for="remember">Remember me</label>
                </div>
                <a class="inline-block align-baseline font-bold text-sm text-gray-600 dark:text-gray-300 hover:text-gray-800" href="#">Forgot Password?</a>
            </div>
            <div class="flex flex-col">
                <button class="bg-gray-800 hover:bg-gray-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline mb-4" type="submit">Login</button>
                <button class="bg-gray-600 hover:bg-gray-500 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline">Signup</button>
            </div>
        </form>
        <div class="mt-4 text-center">
            <p class="text-gray-600 dark:text-gray-300">Or sign in with</p>
            <div class="flex justify-center space-x-4 mt-2">
                <img class="h-8 w-8 rounded-full" src="https://picsum.photos/seed/pic1/40/40" alt="Avatar">
                <img class="h-8 w-8 rounded-full" src="https://picsum.photos/seed/pic2/40/40" alt="Avatar">
                <img class="h-8 w-8 rounded-full" src="https://picsum.photos/seed/pic3/40/40" alt="Avatar">
            </div>
        </div>
    </div>
</div>

Verwandte Komponenten

Login/Signup-Komponente

Eine reaktionsschnelle Login/Signup-Komponente, die im Material Design-Stil mit Unterstützung für dunkle Themen und komplementärem Farbschema gestaltet wurde und auf Social-Media-Schnittstellen zugeschnitten ist.

Offen

Brutalism Login/Signup-Komponente

Eine Login/Signup-Komponente im brutalistischen Stil mit einem triadischen Farbschema, mittlerer Komplexität, responsivem Design und Unterstützung für den Dunkelmodus. Verwendet picsum.photos für Bilder und randomuser.me für Avatare.

Offen

MaterialEarthToneLoginSignupComponent

Eine reaktionsschnelle Anmelde- und Registrierungskomponente im Material Design-Stil mit erdfarbenem Farbschema, moderater Komplexität mit interaktivem Umschalten zwischen Formularen, entwickelt für Dashboards mit Unterstützung des Dunkelmodus.

Offen