Skip to content

Password toggle visibility#925

Open
Gaurav-Kumar-1907 wants to merge 2 commits into
vicharanashala:mainfrom
Gaurav-Kumar-1907:password_visibility
Open

Password toggle visibility#925
Gaurav-Kumar-1907 wants to merge 2 commits into
vicharanashala:mainfrom
Gaurav-Kumar-1907:password_visibility

Conversation

@Gaurav-Kumar-1907
Copy link
Copy Markdown

This pull request adds the Password Visibility Toggle feature to the ViBe LMS authentication pages (Sign In and Sign Up).
The enhancement allows users to view or hide their password while typing, improving usability and reducing login/signup errors caused by typos.

Key Changes:

  • Added an eye / eye-off icon inside password input fields.
  • Created independent useState hooks for Sign In and Sign Up forms to manage toggle state separately.
  • Toggling the icon switches the input type between password (hidden) and text (visible).
  • Fully frontend implementation; no backend changes required.
  • Works seamlessly on both desktop and mobile devices.

Benefits:

  • Reduces password typing errors.
  • Improves user experience and accessibility.
  • Maintains backend security and authentication flow.
hidden show_password

I have also added two images above. At first the password it not visible to user. Whereas when eye icon is pressed then password gets visible in the next image.

@github-actions github-actions Bot added frontend Changes to the frontend of the project backend labels Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend frontend Changes to the frontend of the project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant