Login V2: Improve visibility of the Reset Password action
Preflight Checklist
- I could not find a solution in the existing issues, docs, nor discussions
- I have joined the ZITADEL chat
Describe your problem
The Reset Password action on the Login V2 password verification screen can be easy to overlook, especially when using certain fonts or custom branding.
Currently, the action is displayed as relatively subtle text below the password field. Although it has a hover color state, it does not explicitly use a pointer cursor or stronger font weight, which can make it less obvious that it is an interactive action.
Relevant component
The action is rendered in:
apps/login/src/components/password-form.tsx
Inside the PasswordForm component:
<button
className="hover:text-primary-light-500 dark:hover:text-primary-dark-500 text-sm transition-all"
onClick={() => resetPasswordAndContinue()}
type="button"
disabled={loading}
data-testid="reset-button"
>
<Translated i18nKey="verify.resetPassword" namespace="password" />
</button>Describe your ideal solution
Update the styling of the Reset Password button so that:
- The cursor changes to a pointer when the action is interactive/hovered.
- The text uses a stronger font weight, such as
font-semiboldorfont-bold, to make the action easier to notice. - Existing hover colors, disabled behavior, keyboard interaction, and reset functionality remain unchanged.
For example, this could be handled through the existing Tailwind classes on the button rather than introducing a new component.
Expected result
Users should be able to more easily recognize Reset Password as an available and clickable action while keeping the existing Login V2 behavior and layout intact.
Version
4.19.3
Environment
ZITADEL Cloud
Additional Context
UX / accessibility benefit
The reset-password action is an important alternative path on the password verification screen. Increasing its visual prominence and providing a clearer interactive cursor improves the affordance of the control and reduces the chance that users overlook it.
A stronger font weight can also improve readability and distinguish the action from surrounding informational text, particularly with fonts or branding configurations where the current styling has low visual prominence.
The existing native <button> semantics should be preserved so keyboard navigation and assistive-technology behavior remain unchanged.
Source: zitadel/zitadel