ARDHOLT

Sign-in and sign-up screens: validation, errors, mobile

Work

Sign-in and sign-up · validation · mobile

SaltNote, a recipe notebook: sign-in and sign-up screens with a split-screen layout that becomes form-first on mobile, live password rules, an error summary that links to each field, and a check-your-inbox state, with desktop and mobile renders and the source files to download.

Open the working screens → · Download the source files · Ask us for one like it

The SaltNote sign-in screen at desktop width: brand illustration panel on the left, email and password form on the right.
The sign-in screen at desktop width: a brand panel with a vector illustration on the left and a focused form column on the right.

What it is

An email and password sign-in form for SaltNote, a recipe and pantry notebook: one split-screen layout, one stylesheet and one script shared by the sign-in and sign-up screens, with the validation and error states built in.

  1. A sign-in screen: email, password with a show and hide toggle that updates aria-pressed, a remember-me checkbox and a forgot-password notice that opens in the page.
  2. A sign-up screen with email, password, confirm password and a terms checkbox, and no name field.
  3. Live password rules: four rules (at least 8 characters, an uppercase letter, a lowercase letter, a number) that each switch from an open circle to a tick with text, so colour is never the only signal.
  4. An error state: native constraint validation with custom messages, a focusable error summary at the top whose links jump to each field, and inline messages with an icon, aria-invalid and aria-describedby.
  5. A check-your-inbox state: the form is replaced by a confirmation panel with role="status", focus moved to it, a resend button and a link back to sign in.
  6. A form-first mobile layout: one column with a compact brand bar above the form, the password rules in a two-column grid, visible focus outlines and no sideways scroll.
  7. Semantic autocomplete tokens on every field, so browsers and password managers fill them correctly.

Everything is local: plain HTML, CSS and one script, inline SVG artwork and self-hosted fonts (Montserrat and Roboto, both under the SIL Open Font License), with no network requests. The forms post nowhere: submitting is handled in the page, so the check-your-inbox panel appears without anything being sent, stored or created, and the resend button only changes the status line.

Desktop and mobile, render by render

The sign-up screen at desktop width: email, password, the four live password rules, confirm password and the terms checkbox.
The sign-up screen at desktop width: the four password rules sit under the password field and tick off as it is typed.
The sign-up screen with errors at desktop width: an error summary at the top and inline messages on the invalid fields.
The error state at desktop width: a summary at the top links to each invalid field, and the password rules tick off independently.
The sign-in screen at 390px wide: compact brand bar above a single-column form.
Sign-in at mobile width, 390px: a compact brand bar, then the form straight away.
The sign-up screen at 390px wide with the password rules in a two-column grid.
Sign-up at mobile width: the four password rules in a compact two-column grid.
The sign-up error state at 390px wide: summary, inline messages and partly met password rules.
The error state at mobile width: summary, inline messages and partly met rules stay legible in one column.
The check-your-inbox confirmation at 390px wide with an envelope illustration, a resend button and a sign-in link.
The check-your-inbox state at mobile width: an envelope illustration, a confirmation badge, a resend button and a sign-in link.

The files

  1. The working screens, opened in the browser: sign-in, sign-up, the error state and the check-your-inbox state. Submit them empty or filled in; nothing leaves the page.
  2. Source files (zip): sign-in.html, sign-up.html, state-signup-errors.html, state-signup-success.html, auth.css, auth.js and the fonts folder.
  3. The renders as PNG: sign-in desktop, sign-up desktop, errors desktop, sign-in mobile, sign-up mobile, errors mobile, check-your-inbox mobile.

Want one like it?

Send us what you have and what it needs to do. A written scope and fixed price follow. Nothing starts until you agree.

hello@ardholt.com

You deal with us directly, from the first reply to hand-over.

Get a quote → · See all the work