This login UI focuses on resuming an existing session by confirming the detected account, reducing repeated credential entry in trusted environments.
HTML
<section class="login-resume">
<div class="login-resume__avatar">A</div>
<span class="login-resume__email">Prince@company.com</span>
<button class="login-resume__primary">Continue</button>
<button class="login-resume__secondary">Use another account</button>
</section>CSS
.login-resume {
width: 200px;
padding: 0.9rem;
border-radius: 18px;
background: linear-gradient(180deg, #ffffff, #f9fafb);
box-shadow: 0 18px 36px rgba(0,0,0,0.14);
display: grid;
gap: 0.45rem;
text-align: center;
}
.login-resume__avatar {
width: 36px;
height: 36px;
border-radius: 50%;
background: #6366f1;
color: #ffffff;
display: grid;
place-items: center;
font-size: 14px;
font-weight: 600;
margin: 0 auto;
}
.login-resume__email {
font-size: 12px;
color: #374151;
}
.login-resume__primary {
padding: 0.45rem;
border-radius: 999px;
border: none;
background: #6366f1;
color: #ffffff;
font-size: 12px;
cursor: pointer;
transition: transform 150ms ease;
}
.login-resume__primary:hover {
transform: translateY(-1px);
}
.login-resume__secondary {
padding: 0.35rem;
border: none;
background: transparent;
font-size: 11px;
color: #6b7280;
cursor: pointer;
}
@media (prefers-color-scheme: dark) {
.login-resume {
background: linear-gradient(180deg, #111827, #020617);
}
.login-resume__email {
color: #d1d5db;
}
.login-resume__secondary {
color: #9ca3af;
}
}Notes
- Optimized for returning users
- Reduces credential re-entry
- Ideal for enterprise and internal tools
Preview styles shown. Production customization recommended.
Browse More UI Components
Explore hundreds of reusable HTML & CSS UI components built for modern web projects.
Discover buttons, cards, loaders, animations, layouts, and more all with live previews and clean, copy-paste code.
