How to design a Login experience?

Users need to access their private or confidential information. This information needs to be secured behind locked doors. This virtual locked doors can be accessed through a combination of email address and a password. Users might not find it easy to remember their email address/username and password. That’s why it’s important to design a smooth login experience.

Here’s a detailed breakdown of how a login with email or password experience should look and feel like.

Login: Userflow

1. Login Page


Back Button

A "back" button is provided in the login screens whenever the login is not the first screen the user visits. This is especially critical if the login is not "required" to be able to use the app/website.

Required Symbol

The asterisk (*) symbol indicates that the filed is required. It's critical to display to the use that the email and password fields are "required". Optionally you can add the text "Required" next to the field name, depending on your user.

View Password Icon

Add an eye icon in the password field, to allow the user to toggle and view the password they typed. This helps prevents errors related to wrong password.

Login Button

The login button should be the primary button on this screen. All other buttons or actions should be used as text link to avoid confusing the user or diverting their attention to other secondary actions.

Signup Link

Let the users easily find the signup button. Incase the user might have accidentally landed on the login page. Let the user have a chance to switch to the signup page instead.

1.1 Login Error Page(s)


Text Field Icon

At this point the user has already typed in their email address. Incase they entered the wrong email address, the "X" icon allows the user to quickly erase the contents of the email field.

Error Message

Provide the user with clear message showing them why they are not able to proceed with the login. Additionally give the user a text link to be able to solve this issue.

Required Elements

It’s easy to forget and miss out small details. When designing screens for a login with email address/username & password experience you’ll need to design these elements.

  • Eye Icon
  • Close or Cancel Icon
  • Primary Button Default
  • Primary Button Hover
  • Primary Button Pressed
  • Secondary Button Default
  • Secondary Button Hover
  • Primary Button Pressed
  • Link Text
Input Fields
  • Default Input Field
  • Focused Input Field
  • Typing Input Field
  • Filled Input Field
  • Error/Validation Input Field
Password Fields
  • Default Password Field
  • Focused Password Field
  • Typing Password Field
  • Error/Validation Password Field

More Onboarding Patterns

Login — Social Account

Login — Social Account

Login — Email and Password

Login — Email and Password