All Projects → xamous → React Native Smooth Pincode Input

xamous / React Native Smooth Pincode Input

Licence: mit
A cross-platform, smooth, lightweight, customizable PIN code input component for React Native.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Native Smooth Pincode Input

Gopassbridge
A web extension for firefox and chrome to insert login credentials from gopass
Stars: ✭ 182 (-15.74%)
Mutual labels:  password
Pass Update
A pass extension that provides an easy flow for updating passwords.
Stars: ✭ 191 (-11.57%)
Mutual labels:  password
Libreauth
LibreAuth is a collection of tools for user authentication.
Stars: ✭ 201 (-6.94%)
Mutual labels:  password
Leaked
Leaked? 2.1 - A Checking tool for Hash codes, Passwords and Emails leaked
Stars: ✭ 184 (-14.81%)
Mutual labels:  password
Zxcvbn4j
This is a java port of zxcvbn, which is a JavaScript password strength generator.
Stars: ✭ 188 (-12.96%)
Mutual labels:  password
Dcipher Cli
🔓Crack hashes using online rainbow & lookup table attack services, right from your terminal.
Stars: ✭ 193 (-10.65%)
Mutual labels:  password
Zydra
Stars: ✭ 178 (-17.59%)
Mutual labels:  password
Ad Password Protection
Active Directory password filter featuring breached password checking and custom complexity rules
Stars: ✭ 210 (-2.78%)
Mutual labels:  password
Mysql Unsha1
Authenticate against a MySQL server without knowing the cleartext password
Stars: ✭ 191 (-11.57%)
Mutual labels:  password
Filevaultcracker
macOS FileVault cracking tool
Stars: ✭ 199 (-7.87%)
Mutual labels:  password
Password Strength
Angular UI library to illustrate and validate a password's strength with material design - Angular V9 supported
Stars: ✭ 186 (-13.89%)
Mutual labels:  password
Applocker
AppLocker - simple lock screen for iOS Application ( Swift 4+, iOS 9.0+) Touch ID / Face ID
Stars: ✭ 188 (-12.96%)
Mutual labels:  password
Python Scripts
Collection of Various Python Script's.💻
Stars: ✭ 195 (-9.72%)
Mutual labels:  password
Android Passcodeview
A custom view with keyboard and character display to be used for authentication
Stars: ✭ 182 (-15.74%)
Mutual labels:  password
Pwdb Public
A collection of all the data i could extract from 1 billion leaked credentials from internet.
Stars: ✭ 2,497 (+1056.02%)
Mutual labels:  password
Huge
Simple user-authentication solution, embedded into a small framework.
Stars: ✭ 2,125 (+883.8%)
Mutual labels:  password
Awesome Iam
👤 Identity and Access Management Knowledge for Cloud Platforms
Stars: ✭ 186 (-13.89%)
Mutual labels:  password
Hackers Tool Kit
Its a framework filled with alot of options and hacking tools you use directly in the script from brute forcing to payload making im still adding more stuff i now have another tool out called htkl-lite its hackers-tool-kit just not as big and messy to see updates check on my instagram @tuf_unkn0wn or if there are any problems message me on instagram
Stars: ✭ 211 (-2.31%)
Mutual labels:  password
Ladon
大型内网渗透扫描器&Cobalt Strike,Ladon8.9内置120个模块,包含信息收集/存活主机/端口扫描/服务识别/密码爆破/漏洞检测/漏洞利用。漏洞检测含MS17010/SMBGhost/Weblogic/ActiveMQ/Tomcat/Struts2,密码口令爆破(Mysql/Oracle/MSSQL)/FTP/SSH(Linux)/VNC/Windows(IPC/WMI/SMB/Netbios/LDAP/SmbHash/WmiHash/Winrm),远程执行命令(smbexec/wmiexe/psexec/atexec/sshexec/webshell),降权提权Runas、GetSystem,Poc/Exploit,支持Cobalt Strike 3.X-4.0
Stars: ✭ 2,911 (+1247.69%)
Mutual labels:  password
Stormkitty
🔑 Open source stealer written on C#, all logs will be sent to Telegram bot.
Stars: ✭ 198 (-8.33%)
Mutual labels:  password

React Native Smooth Pincode Input

A cross-platform, smooth, lightweight, customizable PIN code input component for React Native.

Most PIN code inputs components implemented by combining several TextInputs. They works, however, not good enough. When user types fast, or system sluggish, characters may lost when component switching focus between TextInputs. User need to type over and over again to get a correct input, gave a frustrated user experience.

React Native Smooth Pincode Input implemented with a different approach - It's based on single TextInput but only render it as seperated fields. In other words, it looks like a PIN code input, but works as smooth as a native TextInput.

React Native Smooth Pincode Input is also highly customizable. By exposing cells and text stylesheets, it can be fully customized to fit in your app design. Password mode also supported with customizable mask characters as well as placeholders.

Features

  • Smooth typing without losing inputs
  • Customizable cell style
  • Customizable text style
  • Password mode
  • Customizable password mask and placeholder characters
  • Built in animations (Credit to react-native-animatable)

Installation

# yarn
yarn add react-native-smooth-pincode-input

# npm
npm i react-native-smooth-pincode-input

Examples

Default style with event handling

<SmoothPinCodeInput
  ref={this.pinInput}
  value={code}
  onTextChange={code => this.setState({ code })}
  onFulfill={this._checkCode}
  onBackspace={this._focusePrevInput}
  />

Password with custom mask

<SmoothPinCodeInput password mask="﹡"
  cellSize={36}
  codeLength={8}
  value={password}
  onTextChange={password => this.setState({ password })}/>

Underline style

<SmoothPinCodeInput
  cellStyle={{
    borderBottomWidth: 2,
    borderColor: 'gray',
  }}
  cellStyleFocused={{
    borderColor: 'black',
  }}
  value={code}
  onTextChange={code => this.setState({ code })}
  />

Customized style

<SmoothPinCodeInput
  placeholder="⭑"
  cellStyle={{
    borderWidth: 2,
    borderRadius: 24,
    borderColor: 'mediumturquoise',
    backgroundColor: 'azure',
  }}
  cellStyleFocused={{
    borderColor: 'lightseagreen',
    backgroundColor: 'lightcyan',
  }}
  textStyle={{
    fontSize: 24,
    color: 'salmon'
  }}
  textStyleFocused={{
    color: 'crimson'
  }}
  value={code}
  onTextChange={code => this.setState({ code })}
  />

Custom placeholder and mask using a component

<SmoothPinCodeInput
  placeholder={<View style={{
    width: 10,
    height: 10,
    borderRadius: 25,
    opacity: 0.3,
    backgroundColor: 'blue',
  }}></View>}
  mask={<View style={{
    width: 10,
    height: 10,
    borderRadius: 25,
    backgroundColor: 'blue',
  }}></View>}
  maskDelay={1000}
  password={true}
  cellStyle={null}
  cellStyleFocused={null}
  value={code}
  onTextChange={code => this.setState({ code })}
/>

Available props

Name Type Default Description
value String '' The value to show for the input
codeLength Number 4 Number of character for the input
cellSize Number 48 Size for each cell in input
cellSpacing Number 4 Space between each cell
placeholder String Element ''
mask String Element '*'
maskDelay Number 200 The delay in milliseconds before a character is masked
password Boolean false Mask the input value. Each cell masked with mask props
autoFocus Boolean false If true, focuses the input on componentDidMount
editable Boolean true If false, makes each cell not editable
animated Boolean true Toggle animations
animationFocused String, Object 'pulse' The animation of the focused cell. This can be a preset animation in the form of a string or a custom animation object.
restrictToNumbers Boolean false Restrict input to numbers only
containerStyle React View StyleSheet {} View style for whole cell containers
cellStyle React View StyleSheet { borderColor: 'gray', borderWidth: 1} View style for each cell
cellStyleFocused React View StyleSheet { borderColor: 'black', borderWidth: 2 } View style for focused cell
textStyle React Text StyleSheet { color: 'gray', fontSize: 24 } Text style for cell value
textStyleFocused React Text StyleSheet { color: 'black' } Text style for focused cell value
onFulfill Function null Callback function that's called when the input is completely filled
onTextChange Function null Callback function that's called when the text changed
onBackspace Function null Callback function that's called when the input is empty and the backspace button is pressed
keyboardType Enum('default', 'number-pad', 'decimal-pad', 'numeric', 'email-address', 'phone-pad') 'numeric' Determines which keyboard to open

Thanks to contributors

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].