{"id":19311969,"url":"https://github.com/weblineindia/reactjs-password-input","last_synced_at":"2026-03-07T22:32:47.784Z","repository":{"id":57347629,"uuid":"281910993","full_name":"weblineindia/ReactJS-Password-Input","owner":"weblineindia","description":"ReactJS based Password component to add password as a text/password property with validation. The password value is automatically validated on blur event. You can also disable and hide password field using disable and hide props.","archived":false,"fork":false,"pushed_at":"2024-04-29T05:01:10.000Z","size":309,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-16T10:34:19.847Z","etag":null,"topics":["input-field","password-input","react-components","react-demo","react-input-field","react-libraries","react-password","react-password-input","reactjs","reactjs-components","reactjs-demo","reactjs-library","reactjs-password","reactjs-password-input","reactjs-password-validation","reusable-components"],"latest_commit_sha":null,"homepage":"https://www.weblineindia.com/software-development-resources.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/weblineindia.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-23T09:39:03.000Z","updated_at":"2024-04-29T05:01:13.000Z","dependencies_parsed_at":"2024-04-29T06:23:44.003Z","dependency_job_id":"9f06f737-87fc-4d2f-ab24-34a53767a22e","html_url":"https://github.com/weblineindia/ReactJS-Password-Input","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReactJS-Password-Input","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReactJS-Password-Input/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReactJS-Password-Input/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReactJS-Password-Input/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weblineindia","download_url":"https://codeload.github.com/weblineindia/ReactJS-Password-Input/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250267313,"owners_count":21402454,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["input-field","password-input","react-components","react-demo","react-input-field","react-libraries","react-password","react-password-input","reactjs","reactjs-components","reactjs-demo","reactjs-library","reactjs-password","reactjs-password-input","reactjs-password-validation","reusable-components"],"created_at":"2024-11-10T00:31:44.438Z","updated_at":"2026-03-07T22:32:47.706Z","avatar_url":"https://github.com/weblineindia.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReactJS - Password Input\n\nReactJS based Password component to add password as a text/password property with validation. The password value is automatically validated on blur event. You can also disable and hide password field using disable and hide props.\n\n## Table of contents\n\n- [Browser Support](#browser-support)\n- [Demo](#demo)\n- [Getting started](#getting-started)\n- [Usage](#usage)\n- [Available Props](#available-props)\n- [Methods](#methods)\n- [Want to Contribute?](#want-to-contribute)\n- [Collection of Components](#collection-of-components)\n- [Changelog](#changelog)\n- [License](#license)\n- [Keywords](#Keywords)\n\n## Browser Support\n\n| ![Chrome](https://raw.github.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png) | ![Firefox](https://raw.github.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png) | ![Safari](https://raw.github.com/alrra/browser-logos/master/src/safari/safari_48x48.png) | ![Edge](https://raw.github.com/alrra/browser-logos/master/src/edge/edge_48x48.png) | ![IE](https://raw.github.com/alrra/browser-logos/master/src/archive/internet-explorer_9-11/internet-explorer_9-11_48x48.png) |\n| ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |\n| 83.0 ✔                                                                                   | 77.0 ✔                                                                                      | 13.1.1 ✔                                                                                 | 83.0 ✔                                                                             | 11.9 ✔                                                                                                                       |\n\n## Demo\n\n[![](password.gif)](https://github.com/weblineindia/ReactJS-Password-Input/password.gif)\n\n## Getting started\n\nInstall the npm package:\n\n```bash\nnpm install react-weblineindia-password\n#OR\nyarn add react-weblineindia-password\n```\n\n## Usage\n\nUse the `\u003creact-weblineindia-password\u003e` component:\n\n```js\nimport React ,{ Component } from 'react';\nimport Password from 'react-weblineindia-password'\n\nconst Test = () =\u003e {\n  const [vData, setVData] = useState(\"\");\n  const [isShowPassword, setIsShowPassword] = useState(true);\n\n  const onChange = (event) =\u003e {\n    setVData(event.target.value);\n  };\n\n  return (\n    \u003cdiv\u003e\n      \u003cPassword\n        id=\"password\"\n        name=\"password\"\n        value={vData}\n        onChange={onChange}\n        placeholder=\"Password\"\n        isViewPassword={isShowPassword}\n  \n      /\u003e\n    \u003c/div\u003e\n  );\n};\n\nexport default Test;\n```\n\n## Available Props\n\n| Prop             | Type    | default                                          | Description                      |\n| ---------------- | ------- | ------------------------------------------------ | -------------------------------- |\n| maxlength        | Number  | 255                                              | max length for password          |\n| passwordErrorMsg | String  | The password field must be at least 3 characters | error Msg for password           |\n| placeholder      | String  | password                                         | password placeholder             |\n| disabled         | Boolean | false                                            | disable password field           |\n| name             | String  | password                                         | name for password field          |\n| tabindex         | Number  | 1                                                | password tabIndex                |\n| id               | String  | password                                         | name for password field          |\n| hide             | Boolean | false                                            | for hide password field          |\n| isViewPassword   | Boolean | true                                             | To hide/show eye icon            |\n| value            | String  |                                                  | value for password               |\n| hide             | Boolean | false                                            | for hide password field          |\n| passwordMinValue | Number  | 3                                                | For password field minimum value |\n| classname        | object  |                                                  | Class to the input               |\n\n## Methods\n\n| Name       | Description                                                      |\n| ---------- | ---------------------------------------------------------------- |\n| onFocus    | Gets triggered when the autocomplete input field receives focus. |\n| onBlur     | Gets triggered when the autocomplete input field loses focus.    |\n| onChange   | Gets triggered when the autocomplete results got changed.        |\n| onKeypress | Gets triggered when a key gets pressed.                          |\n| onKeyDown  | Gets triggered when a key gets down.                             |\n| onKeyUp    | Gets triggered when a key gets up.                               |\n\n## Want to Contribute?\n\n- Created something awesome, made this code better, added some functionality, or whatever (this is the hardest part).\n- [Fork it](http://help.github.com/forking/).\n- Create new branch to contribute your changes.\n- Commit all your changes to your branch.\n- Submit a [pull request](http://help.github.com/pull-requests/).\n\n---\n\n## Collection of Components\n\nWe have built many other components and free resources for software development in various programming languages. Kindly click here to view our [Free Resources for Software Development](https://www.weblineindia.com/software-development-resources.html)\n\n---\n\n## Changelog\n\nDetailed changes for each release are documented in [CHANGELOG.md](./CHANGELOG.md).\n\n## License\n\n[MIT](LICENSE)\n\n[mit]: https://github.com/weblineindia/ReactJS-Password-Input/blob/master/LICENSE\n\n## Keywords\n\nreact-weblineindia-password, password-input, reactjs-password, react-password-input, react-password, react-input-field, input-field\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweblineindia%2Freactjs-password-input","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweblineindia%2Freactjs-password-input","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweblineindia%2Freactjs-password-input/lists"}