{"id":13472006,"url":"https://github.com/vishaljadav24/react-native-hide-show-password-input","last_synced_at":"2025-03-26T15:31:04.335Z","repository":{"id":25414740,"uuid":"103933437","full_name":"vishaljadav24/react-native-hide-show-password-input","owner":"vishaljadav24","description":"React-Native Hide Show Password InputText Component","archived":false,"fork":false,"pushed_at":"2023-01-11T22:26:32.000Z","size":2560,"stargazers_count":63,"open_issues_count":22,"forks_count":34,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-04T19:36:38.100Z","etag":null,"topics":["component","hide-show","password","react-native","react-native-component","reactjs"],"latest_commit_sha":null,"homepage":"","language":"Java","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/vishaljadav24.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-18T12:00:56.000Z","updated_at":"2022-03-07T12:01:51.000Z","dependencies_parsed_at":"2023-01-14T03:00:46.111Z","dependency_job_id":null,"html_url":"https://github.com/vishaljadav24/react-native-hide-show-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/vishaljadav24%2Freact-native-hide-show-password-input","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vishaljadav24%2Freact-native-hide-show-password-input/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vishaljadav24%2Freact-native-hide-show-password-input/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vishaljadav24%2Freact-native-hide-show-password-input/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vishaljadav24","download_url":"https://codeload.github.com/vishaljadav24/react-native-hide-show-password-input/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245681245,"owners_count":20655159,"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":["component","hide-show","password","react-native","react-native-component","reactjs"],"created_at":"2024-07-31T16:00:51.072Z","updated_at":"2025-03-26T15:31:03.854Z","avatar_url":"https://github.com/vishaljadav24.png","language":"Java","funding_links":[],"categories":["Java"],"sub_categories":[],"readme":"# React-Native Hide Show Password InputText Component\n\n[![npm version](https://badge.fury.io/js/react-native-hide-show-password-input.svg)](https://badge.fury.io/js/react-native-hide-show-password-input)\n\nThis is a custom component for React Native, a simple Hide Show Password InputText, compatible with both ios and android.\n\n[![demo](https://i.imgur.com/kZ7ViHt.png)](https://i.imgur.com/kZ7ViHt.png)\n\n# Installation.\nInstall the package with NPM.\n\n```sh\nnpm install react-native-hide-show-password-input --save\n```\n\nOr with YARN\n\n```sh\nyarn add react-native-hide-show-password-input\n```\n\nLink vector icons library\n\n```sh\nreact-native link react-native-vector-icons\n```\n\n# How to use.\n\nVery simple to use just add this component in your file.\n```js\n// import packages\nimport React, { Component } from 'react';\nimport { View } from 'react-native';\nimport PasswordInputText from 'react-native-hide-show-password-input';\n\nexport default class App extends Component {\n\n  constructor(props) {\n    super(props);\n    this.state = {\n      password: '',\n    };\n  }\n  \n  render() {\n    const { password } = this.state;\n    \n    return (\n      \u003cView style={{ margin: 20 }}\u003e\n\n        \u003cPasswordInputText\n          getRef={input =\u003e this.input = input}\n          value={password}\n          onChangeText={(password) =\u003e this.setState({ password })}\n        /\u003e\n\n        \u003cButton\n          title=\"Clear\"\n          onPress={() =\u003e this.input.clear()} /\u003e\n          \n      \u003c/View\u003e\n    );\n  }\n}\n```\n\n## Properties\n\n name                  | description                                 | type     | default\n:--------------------- |:------------------------------------------- | --------:|:------------------\n iconSize              | Eye icon size                               |   Number | 25\n iconColor             | Eye icon color                              |   String | #222222\n label                 | Text Input animate label                    |   String | Password\n getRef                | Reference callback                          | Function | -\n \n\nNote: You can use properties of [react-native-material-textfield](https://github.com/n4kz/react-native-material-textfield) and [TextInput](https://facebook.github.io/react-native/docs/textinput).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvishaljadav24%2Freact-native-hide-show-password-input","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvishaljadav24%2Freact-native-hide-show-password-input","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvishaljadav24%2Freact-native-hide-show-password-input/lists"}