Skip to content
SprecherEast
Issue 1365

enhancement: Group the passkey and Google buttons under Log in, with their logos

Back to our plan
Done
enhancementfrontendauthpriority: medium

Type

enhancement

Problem

On the login page the Google button sits above the form and the passkey button below "Log in", with generic icons. The owner wants the two alternative ways to sign in together under "Log in", each with its recognized logo.

Proposed fix

  • Group "Log in with a passkey" and "Continue with Google" together at the top of the log in page, above the email and password form, with one divider line ("Or use your email and password") between them and the form, so the automatic ways come first and the form is the fallback. The sign-up page groups Google the same way.
  • Google: the official full-colour "G" on the button, as Google's branding guidelines require (the "G" must keep its standard colours; a one-colour or theme-tinted "G" is not allowed). Button text stays "Continue with Google".
  • Passkey: the standard FIDO passkey icon, used unaltered (the owner accepted FIDO's terms and supplied the file), shown 32 px tall to meet FIDO's minimum size while the Google "G" stays 20 px. One line of fine print at the foot of the log in page, while passkeys are on, credits the icon to FIDO Alliance, Inc.
  • Logos live in one shared UI kit component (no raw <img> or inline SVG in feature code), checked in light and dark.

Existing work compared

  • Searched: UI kit and open issues for sign-in buttons; no brand-logo component exists. Native first: Google's own pre-approved icon files and button rules; FIDO's icon. Custom code is only the kit component that holds them.

Acceptance criteria

  • Not done: Buttons grouped at the top in the agreed order, aligned and the same width, at phone and desktop widths, light and dark.
  • Not done: Google "G" in its standard colours, unmodified; passkey icon is the FIDO icon, unaltered, with its credit line while passkeys are on.
  • Not done: One shared component, with its test, axe check, gallery entry and row in docs/ui/component-set.md.

Files likely touched

src/platform/ui/ (new component), src/modules/accounts/ui/ login and sign-up pages, docs/ui/component-set.md.

Must not touch

Sign-in logic and routes.

Open questions

  • None: the owner accepted the FIDO terms and supplied the icon.

Area

frontend, auth

Priority

medium


Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab