Reakit: Feature request: A "password" field with option to hide and show password input

Created on 3 Jun 2020  路  5Comments  路  Source: reakit/reakit

馃殌 Feature request

A "password" field with option to hide and show password input

Motivation

In a sign in form, a password field is often in need. By default, password is always hidden as little black dots and it would be nice if we could have an option to see the exact input (for example with a little eye icon)

Example

Here is an example from antd

The form looks like this
ex1

By default when a password is entered, it is hidden
ex2

If we click on the little eye icon on the right, the password is revealed
ex3

Possible implementations

On sign in pages

feature

Most helpful comment

This seems too specific to be a component. Maybe just an example would be enough?

All 5 comments

Hey @julienemo :wave:,

Thank you for opening an issue. We'll get back to you as soon as we can.
Please, consider supporting us on Open Collective. We give a special attention to issues opened by backers.

If you use Reakit at work, you can also ask your company to sponsor us :heart:.

wouldn't mind working on this one

This seems too specific to be a component. Maybe just an example would be enough?

Instead of just password, the option to add a component at the start and end of an input would be good. Seems to common in other ui frameworks.

I think this is closed by #753?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

codyaverett picture codyaverett  路  6Comments

nerdyman picture nerdyman  路  3Comments

romainquellec picture romainquellec  路  5Comments

btzr-io picture btzr-io  路  3Comments

diegohaz picture diegohaz  路  5Comments