React Password

React Password

·

1 min read

React Password displays strength indicator for password fields.

Setup

Refer to PrimeReact setup documentation for download and installation steps for your environment.

Import

import {Password} from 'primereact/password';

Getting Started

Password is used as a controlled component with value and onChange properties.

<Password value={value} onChange={(e) => setValue(e.target.value)} />

Theming

Password supports various themes featuring Material, Bootstrap, Fluent as well as your own custom themes via the Designer tool.

Resources

Visit the PrimeReact Password showcase for demos and documentation.