Login page design

A login page has one job: get someone in. Here are a full sign-in page, a small sign-in card, the code step that follows it and the email that carries the link, all with code.

Ship it

Sign in

Enter your email and we will send you a sign-in link.

Check your email

We sent a six-digit code to [email protected].

No email?

Code cardFormsPro

What makes a good one

  1. Ask for one thing

    An email field and one button is a complete login page. Each extra field is a reason to leave.

  2. One coloured button

    The way in gets the accent colour. Other ways in, such as Google or a passkey, are plain buttons under it.

  3. Fields big enough to tap

    On a phone, make fields 44px tall with 16px text, so the browser does not zoom in when one is tapped.

Questions

What should a login page include?

A logo, a heading, the email field, one button, and a link for people who do not have an account yet. If you use passwords, add a way to reset one.

Should I use a password or an emailed link?

An emailed link or code means nobody has a password to forget. The sign-in card here asks for an email only, and the code card is the step after it.

Is the code free?

The sign-in page and the sign-in card are free, in React, HTML and Figma. The code card and the sign-in email come with Pro.