Design a professional login page with modern ui ux
- User
Design a professional login page with modern ui ux
Assistant
Design a professional login page with modern ui ux
Designing a professional login page with modern UI/UX involves a blend of aesthetic appeal, intuitive interaction, and robust functionality. The goal is to create a seamless, trustworthy, and efficient experience for the user.
Concept: A clean, intuitive, and secure login portal for a modern tech platform (e.g., a SaaS application, a project management tool, an analytics dashboard). The design focuses on clarity, efficiency, and a touch of elegance.
Layout:
Color Palette:
#007BFF (Deep Blue) or #1A73E8 (Google Blue) - For buttons, highlights, active states.#58C2EE (Sky Blue) - For secondary buttons, lighter gradients.#FFFFFF (White) - Background for form, text.#F0F2F5 (Light Gray) - Subtle background for the entire page or outer containers.#333333 (Dark Gray) - Main text, headings.#6B7280 (Medium Gray) - Labels, secondary text, placeholders.#D1D5DB (Border Gray) - Input field borders, dividers.#DC3545 (Error Red)#28A745 (Success Green)Typography:
Inter, Poppins, Roboto, or Lato. Prioritize readability.H1 (Page Title): e.g., 32px-36px, font-weight: 700 (Welcome Back!)H2 (Subtitle): e.g., 18px-20px, font-weight: 500 (Login to your account)Labels/Body Text: 14px-16px, font-weight: 400Buttons: 16px, font-weight: 600Iconography:
Imagery/Background:
A. Left Pane (Branding & Visuals)
background: linear-gradient(135deg, #0F4C75, #1B262C); (Dark Blue to almost Black) or a vibrant gradient.color: white; for text.display: flex; flex-direction: column; justify-content: center; align-items: center; to center content.B. Right Pane (Login Form)
Overall Container:
background: #FFFFFF;padding: 40px; (ample whitespace)border-radius: 12px;box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); (subtle depth)max-width: 400px; (on desktop, to prevent stretching)1. Header/Title:
H1: "Welcome Back!" or "Sign In"P: "Login to your Synapse Connect account"text-align: center; margin-bottom: 30px;2. Input Fields:
font-size: 14px; color: #6B7280; margin-bottom: 8px;).border: 1px solid #D1D5DB;border-radius: 8px;padding: 12px 15px;font-size: 16px;width: 100%;transition: border-color 0.2s ease, box-shadow 0.2s ease;border-color: #007BFF;box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2); (subtle glow)<i class="fas fa-eye"></i>) within the password input field. Clicking it toggles type="password" to type="text". Changes to a crossed-out eye icon.3. "Forgot Password?" Link:
text-align: right; margin-top: 10px; margin-bottom: 20px;color: #007BFF; (Primary accent)text-decoration: none;font-size: 14px;hover: text-decoration: underline;4. Login Button:
background: #007BFF;color: white;C. Error Handling & Feedback:
color: #DC3545; font-size: 13px; margin-top: 5px;#DC3545) if there's an error.alert box at the top of the form, with an X to close.form, input, label, button.input fields must have associated label elements (for="id").tabindex, focus outlines).aria-describedby for error messages, aria-label for icons without visible text.alt text for images, clear language.padding and font-size for easy tapping.<div class="login-page-container">
<div class="login-brand-pane">
<img src="logo.svg" alt="Synapse Connect Logo" class="brand-logo">
<h2 class="brand-tagline">Your Bridge to Productivity</h2>
<div class="brand-illustration"></div> <!-- Abstract pattern/animation -->
</div>
<div class="login-form-pane">
<form class="login-form">
<h1 class="form-title">Welcome Back!</h1>
<p class="form-subtitle">Login to your Synapse Connect account</p>
<div class="form-group">
<label for="email">Email Address</label>
<div class="input-with-icon">
<i class="fas fa-envelope"></i>
<input type="email" id="email" name="email" placeholder="you@example.com" required aria-describedby="email-error">
</div>
<p id="email-error" class="error-message" role="alert"></p>
</div>
<div class="form-group">
<label for="password">Password</label>
<div class="input-with-icon password-toggle-wrapper">
<i class="fas fa-lock"></i>
<input type="password" id="password" name="password" placeholder="••••••••" required aria-describedby="password-error">
<span class="password-toggle-icon" onclick="togglePasswordVisibility()">
<i class="fas fa-eye"></i>
</span>
</div>
<p id="password-error" class="error-message" role="alert"></p>
</div>
<div class="forgot-password">
<a href="/forgot-password">Forgot Password?</a>
</div>
<button type="submit" class="btn btn-primary" id="login-button">
Log In
</button>
<div class="separator">
<span>Or continue with</span>
</div>
<div class="social-logins">
<button type="button" class="btn btn-social btn-google">
<i class="fab fa-google"></i> Google
</button>
<button type="button" class="btn btn-social btn-microsoft">
<i class="fab fa-microsoft"></i> Microsoft
</button>
<button type="button" class="btn btn-social btn-apple">
<i class="fab fa-apple"></i> Apple
</button>
</div>
<div class="signup-link">
Don't have an account? <a href="/signup">Sign Up</a>
</div>
</form>
</div>
</div>
By adhering to these principles and specific UI/UX elements, the "Synapse Connect" login page would project a professional, modern image while providing a seamless and enjoyable user experience.
padding: 14px 20px;border-radius: 8px;font-size: 16px; font-weight: 600;width: 100%;border: none; cursor: pointer;transition: background-color 0.2s ease, transform 0.1s ease;background: #0056b3; (darker blue)transform: translateY(1px); (slight push effect)<i class="fas fa-spinner fa-spin"></i>) appears inside. Button becomes disabled.5. "Or" Separator:
margin-top: 30px; margin-bottom: 20px;display: flex; align-items: center; text-align: center;::before, ::after { content: ''; flex-grow: 1; height: 1px; background-color: #D1D5DB; }span { margin: 0 15px; color: #6B7280; font-size: 14px; }6. Social Login Buttons:
Google, Microsoft, Apple, etc.background: #FFFFFF; border: 1px solid #D1D5DB; color: #333333;padding and border-radius with the primary button.hover: background: #F8F9FA; border-color: #007BFF;7. "Don't have an account?" Link:
text-align: center; margin-top: 30px;font-size: 15px; color: #6B7280;#007BFF), font-weight: 500;.hover: text-decoration: underline;