Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Add ability to toggle password visibility #3170

Open
2 tasks done
tim-finnigan opened this issue Jan 6, 2025 · 1 comment
Open
2 tasks done

[Feature Request]: Add ability to toggle password visibility #3170

tim-finnigan opened this issue Jan 6, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@tim-finnigan
Copy link

Description

Password input: https://cloudscape.aws.dev/components/input/?tabId=playground&example=password

A common pattern is to add the option of an eye icon, and clicking that will toggle visibility of the password

Code of Conduct

@tim-finnigan tim-finnigan added the enhancement New feature or request label Jan 6, 2025
@katiegeorge
Copy link
Member

Hi! That is a fair point, I've seen those types of password inputs before. While it isn't currently possible to add an icon inside of the input, you could put the eye icon directly following it like this.

We don't have an eye icon right now, but you can create your own custom SVGs and use the iconSVG property on the button.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants