A session resume login UI built with pure HTML and CSS that allows users to continue an existing session with minimal input. It enhances returning user convenience and authentication continuity within a clean layout.
Usage
Use this component when interfaces require quick session continuation, such as SaaS dashboards, admin panels, or applications that recognize returning users and streamline re-entry.
Implementation
The layout uses a compact login card structure with visible account identifiers and minimal credential fields. CSS manages spacing, alignment, and responsive stacking to maintain clarity across devices.
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
- Built with pure HTML and CSS
- No JavaScript required
- Designed for returning user session flow
- Enhances login continuity clarity
- Fully responsive across breakpoints
- Suitable for SaaS and dashboard platforms
- Easy to customize identity display styling
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.
