Login Form Card
A clean sign-in card with email, password, remember-me and forgot-password link.
Requires Bootstrap 5. Add the CDN tags below to your page (styles in
<head>, scripts before </body>). The downloaded file already includes them.<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"><script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script><div class="card border-0 shadow" style="max-width:340px;width:340px">
<div class="card-body p-4">
<h5 class="fw-bold text-center mb-1">Welcome back</h5>
<p class="text-secondary small text-center mb-4">Sign in to continue</p>
<div class="mb-3"><label class="form-label small fw-semibold">Email</label><input type="email" class="form-control" placeholder="you@example.com"></div>
<div class="mb-2"><label class="form-label small fw-semibold">Password</label><input type="password" class="form-control" placeholder="••••••••"></div>
<div class="d-flex justify-content-between align-items-center mb-3"><div class="form-check"><input class="form-check-input" type="checkbox" id="rm"><label class="form-check-label small" for="rm">Remember me</label></div><a href="#" class="small text-decoration-none">Forgot?</a></div>
<button class="btn btn-primary w-100 mb-2">Sign in</button>
<p class="text-center small text-secondary mb-0">No account? <a href="#" class="text-decoration-none">Sign up</a></p>
</div>
</div>Free to use.This component uses Bootstrap 5 (linked above). Copy any file, or download a ready-to-open .html page with the CDN links already included.