Skip to content

feat: add password visibility toggle to auth forms#30

Open
shrey2597 wants to merge 1 commit into
Dhanika-Bhat:mainfrom
shrey2597:add-password-visibility-toggle
Open

feat: add password visibility toggle to auth forms#30
shrey2597 wants to merge 1 commit into
Dhanika-Bhat:mainfrom
shrey2597:add-password-visibility-toggle

Conversation

@shrey2597
Copy link
Copy Markdown

What does this PR do?

Adds a password visibility toggle (show/hide password) to both Login and Register forms.

Changes made

  • Added Eye / EyeOff toggle icons inside password fields.
  • Users can switch between hidden and visible password states.
  • Added accessibility labels (aria-label) for the toggle button.
  • Maintained existing styling and functionality.

Why is this needed?

This improves usability by allowing users to verify their password before submission and reduces typing mistakes during authentication.

Tested

  • Login form password visibility toggle works correctly.
  • Register form password visibility toggle works correctly.
  • No existing authentication functionality was affected.
Screenshot 2026-05-25 185743 Screenshot 2026-05-25 185810

Closes #29

@vercel
Copy link
Copy Markdown

vercel Bot commented May 25, 2026

@shrey2597 is attempting to deploy a commit to the dhanika2006-7071's projects Team on Vercel.

A member of the Team first needs to authorize it.

@shrey2597
Copy link
Copy Markdown
Author

Hi @Dhanika-Bhat , @yashg2006

I have implemented the password visibility toggle for both Login and Register forms as discussed in Issue #29.

Could you please review the PR when you get a chance? Also, if appropriate, kindly consider adding the issue to GSSoC'26.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Add Show/Hide Password Toggle to Login Form

1 participant