# react-native-password-field

> This is a react native custom text input component. This text input will hide and show text based on icon clicked in the text field. This version supports pod install and is compatible with react-native 0.60 and above

Latest version **1.0.8** (published 2019-12-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-password-field
pnpm add react-native-password-field
yarn add react-native-password-field
bun add react-native-password-field
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.8 |
| Published | 2019-12-04 |
| First published | 2019-12-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 235.2 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Shweta |
| Maintainers | shwetap |
| Keywords | react-native, ios, android, text, textfield, passcode, xcode, custom, react, textfield, textinput, input, login, password, react-component, component |

## Links

- npm: https://www.npmjs.com/package/react-native-password-field
- Repository: https://github.com/Shweta-Porwal/passwordTextInput
- Homepage: https://github.com/Shweta-Porwal/passwordTextInput#readme
- Issues: https://github.com/Shweta-Porwal/passwordTextInput/issues
- npm.io page: https://npm.io/package/react-native-password-field

## Dependencies (3)

- [react](https://npm.io/package/react.md) 16.9.0
- [native-base](https://npm.io/package/native-base.md) ^2.13.8
- [react-native](https://npm.io/package/react-native.md) 0.61.4

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.8 (latest) — 2019-12-04
- 1.0.7 — 2019-12-04
- 1.0.6 — 2019-12-04
- 1.0.5 — 2019-12-04
- 1.0.4 — 2019-12-04
- 1.0.3 — 2019-12-04
- 1.0.2 — 2019-12-03
- 1.0.1 — 2019-12-03
- 1.0.0 — 2019-12-03

## README

# react-native-password-field

This is a react native custom text input component. This text input will hide and show text based on icon clicked in the text field. This version supports pod install and is compatible with react-native 0.60 and above.


## Getting started

`$ npm install react-native-password-field --save`
 or 
 `$ yarn add react-native-password-field`

### Mostly automatic installation

For react native version < 0.60, call react-native link before proceeding.
`$ react-native link react-native-password-field`

Follow the below steps, for all versions of react native that supports pod.
`$ cd ios`
`$ pod install`

## Usage
```javascript

import PasswordField from 'react-native-password-field';

// Add a state in constructor with name password and update it based on the operation performed

<PasswordField
    placeholder={'Password'}
    passwordValue={this.state.password}
    backgroundColor={'white'}
    textColor={'black'}
    onChangeText={password => this.setState({password: password})}
/>
```

---
_Source: https://npm.io/package/react-native-password-field · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
