Komponente des Anmeldeformulars
Eine responsive Anmeldeformularkomponente mit skeuomorphem Design, monochromatischem Farbschema und Unterstützung für dunkle Themen, die für Unternehmenswebsites geeignet ist.
HTML-Code
<div class="min-h-screen flex items-center justify-center bg-gray-200 dark:bg-gray-900 p-4">
<div class="bg-white dark:bg-gray-800 p-10 rounded-xl shadow-2xl w-full max-w-md transform transition-all duration-300 hover:scale-105 border-t-4 border-blue-500 dark:border-blue-700">
<h2 class="text-4xl font-extrabold text-center text-gray-800 dark:text-white mb-8">
<span class="block">Welcome Back!</span>
<span class="block text-blue-500 dark:text-blue-400 text-2xl mt-2">Login to your account</span>
</h2>
<form class="space-y-6">
<div class="relative">
<input type="email" id="email" class="block w-full px-4 py-3 rounded-lg text-gray-900 dark:text-white bg-gray-100 dark:bg-gray-700 border border-gray-300 dark:border-gray-600 focus:ring-blue-500 focus:border-blue-500 dark:focus:ring-blue-400 dark:focus:border-blue-400 shadow-inner appearance-none transition-all duration-300 peer placeholder-transparent" placeholder=" "/>
<label for="email" class="absolute left-4 -top-2.5 text-gray-600 dark:text-gray-300 text-sm bg-gray-100 dark:bg-gray-700 px-1 transition-all duration-300 peer-placeholder-shown:text-base peer-placeholder-shown:text-gray-400 peer-placeholder-shown:top-3.5 peer-focus:-top-2.5 peer-focus:text-blue-600 dark:peer-focus:text-blue-400 peer-focus:text-sm">Email Address</label>
</div>
<div class="relative">
<input type="password" id="password" class="block w-full px-4 py-3 rounded-lg text-gray-900 dark:text-white bg-gray-100 dark:bg-gray-700 border border-gray-300 dark:border-gray-600 focus:ring-blue-500 focus:border-blue-500 dark:focus:border-blue-400 dark:focus:ring-blue-400 shadow-inner appearance-none transition-all duration-300 peer placeholder-transparent" placeholder=" "/>
<label for="password" class="absolute left-4 -top-2.5 text-gray-600 dark:text-gray-300 text-sm bg-gray-100 dark:bg-gray-700 px-1 transition-all duration-300 peer-placeholder-shown:text-base peer-placeholder-shown:text-gray-400 peer-placeholder-shown:top-3.5 peer-focus:-top-2.5 peer-focus:text-blue-600 dark:peer-focus:text-blue-400 peer-focus:text-sm">Password</label>
</div>
<div class="flex items-center justify-between">
<div class="flex items-center">
<input id="remember_me" name="remember_me" type="checkbox" class="h-5 w-5 text-blue-600 dark:text-blue-500 rounded border-gray-300 dark:border-gray-600 focus:ring-blue-500 dark:focus:ring-blue-400">
<label for="remember_me" class="ml-3 block text-base text-gray-700 dark:text-gray-300">Remember me</label>
</div>
<div class="text-base">
<a href="#" class="font-medium text-blue-600 dark:text-blue-500 hover:text-blue-500 dark:hover:text-blue-400 transition-colors duration-300">Forgot your password?</a>
</div>
</div>
<div>
<button type="submit" class="w-full flex justify-center py-3 px-4 border border-transparent rounded-lg shadow-lg text-lg font-semibold text-white bg-blue-600 dark:bg-blue-700 hover:bg-blue-700 dark:hover:bg-blue-800 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 dark:focus:ring-blue-400 dark:focus:ring-offset-gray-800 transition-all duration-300 transform hover:-translate-y-1 active:translate-y-0 active:shadow-inner-blue-800 skew-y-1 hover:skew-y-0">
<span class="">Sign in</span>
<svg class="ml-3 w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 9l3 3m0 0l-3 3m3-3H8m13 0a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>
</button>
</div>
</form>
<div class="mt-8 text-center">
<p class="text-base text-gray-600 dark:text-gray-400">Don't have an account? <a href="#" class="font-medium text-blue-600 dark:text-blue-500 hover:text-blue-500 dark:hover:text-blue-400 transition-colors duration-300">Sign up</a></p>
</div>
</div>
</div>
Verwandte Komponenten
Komponente des Anmeldeformulars
Eine einfache und reaktionsschnelle Login-Formular-Komponente, die mit einer pastellfarbenen Farbpalette (sanfte Rosatöne und komplementäre Grautöne) und ansprechenden Mikrointeraktionen wie sanften Übergängen und subtilen Hover/Fokus-Effekten erstellt wurde. Es wurde für Geschäfts- oder Unternehmenswebsites entwickelt und verfügt über ein übersichtliches Layout, ist vollständig reaktionsschnell und bietet umfassende Unterstützung für dunkle Themen. Erstellt ausschließlich mit HTML und Tailwind CSS.
Komponente des Anmeldeformulars
Eine einfache Login-Formular-Komponente, die in einem brutalistischen Stil mit Erdtönen gestaltet ist, sich für Blog-/Content-Zwecke eignet und sowohl für helle als auch für dunkle Themen optimiert ist.
Komponente des 3D-Anmeldeformulars
Ein responsives Anmeldeformular mit 3D-Design, triadischem Farbschema und Unterstützung für dunkle Themen. Geeignet für Social-Media-Schnittstellen.