Screens / Login
Login
Signing in, signing up and verifying, as art-directed scenes. It is the screen people see most and want to spend the least time on, so the delight has to earn its place and never get in the way. Each scene below is a working screen. Open one to try it, see its art direction, and copy the code.
Every scene keeps these
- Never gate sign-in behind the interaction: the form works the moment the page loads, and any focus or typing skips the show.
- A real <form> with <label>s, type="email"/"password", and autocomplete="username" + "current-password" (or "new-password" on sign-up, "one-time-code" for codes) so password managers, passkeys and SMS autofill work.
- Keyboard path: Tab moves email, password, submit in order; Enter submits.
- Errors in plain words next to the field, announced (aria-live), with focus moved to the field to fix. Don't clear what they typed.
- Answer the submit within 100ms (pending state, button disabled while the request runs).
- Respect prefers-reduced-motion: the delight becomes a still state, never a blocker.
- Any character or effect is decorative: aria-hidden, and text contrast never depends on it.