dsznajder / React Native Otp Inputs
Licence: mit
OTP inputs for React-Native
Stars: ✭ 101
Programming Languages
typescript
32286 projects
Projects that are alternatives of or similar to React Native Otp Inputs
React Native Tabbar Interaction
Tabbar Component For React-Native
Stars: ✭ 457 (+352.48%)
Mutual labels: react-native-component
React Native Sglistview
SGListView is a memory minded implementation of React Native's ListView
Stars: ✭ 745 (+637.62%)
Mutual labels: react-native-component
React Native Modal Dropdown
A react-native dropdown/picker/selector component for both Android & iOS.
Stars: ✭ 1,103 (+992.08%)
Mutual labels: react-native-component
Calendarpicker
CalendarPicker Component for React Native
Stars: ✭ 568 (+462.38%)
Mutual labels: react-native-component
React Native Sortable List
React Native Sortable List component
Stars: ✭ 678 (+571.29%)
Mutual labels: react-native-component
React Native Cached Image
CachedImage component for react-native
Stars: ✭ 890 (+781.19%)
Mutual labels: react-native-component
React Native Material Menu
Pure JavaScript material menu component for React Native
Stars: ✭ 327 (+223.76%)
Mutual labels: react-native-component
React Native Deck Swiper
tinder like react-native deck swiper
Stars: ✭ 1,261 (+1148.51%)
Mutual labels: react-native-component
React Native Star Rating
A React Native component for generating and displaying interactive star ratings
Stars: ✭ 724 (+616.83%)
Mutual labels: react-native-component
React Arkit
AR library for React-Native based on ARKit
Stars: ✭ 57 (-43.56%)
Mutual labels: react-native-component
React Native Onboarding Swiper
🛳 Delightful onboarding for your React-Native app
Stars: ✭ 596 (+490.1%)
Mutual labels: react-native-component
React Native Material Bottom Navigation
💅🔧👌 a beautiful, customizable and easy-to-use material design bottom navigation for react-native
Stars: ✭ 659 (+552.48%)
Mutual labels: react-native-component
React Native Circularprogress
A pure React Native Component for circular progress bars
Stars: ✭ 44 (-56.44%)
Mutual labels: react-native-component
React Native Video Controls
A React Native video component with controls
Stars: ✭ 479 (+374.26%)
Mutual labels: react-native-component
React Native Action Sheet Component
React Native Action Sheet Component for iOS & Android.
Stars: ✭ 60 (-40.59%)
Mutual labels: react-native-component
React Native Drag Sort
🔥🔥🔥Drag and drop sort control for react-native
Stars: ✭ 397 (+293.07%)
Mutual labels: react-native-component
React Native Stager
A performant wizard-like multi stages component for React Native without a router
Stars: ✭ 16 (-84.16%)
Mutual labels: react-native-component
React Native Contacts
React Native Contacts
Stars: ✭ 1,369 (+1255.45%)
Mutual labels: react-native-component
React Native Ios Context Menu
A react-native component to use context menu's (UIMenu) on iOS 13/14+
Stars: ✭ 80 (-20.79%)
Mutual labels: react-native-component
React Native Hide Show Password Input
React-Native Hide Show Password InputText Component
Stars: ✭ 50 (-50.5%)
Mutual labels: react-native-component
react-native-otp-inputs
Demo
Description
react-native-otp-inputs
is fully customizable, React-Native package, that provides solution for One-time password feature with user friendly events like moving to previous input with backspace or going to next when filled in. It supports pasting and otp code into inputs
Installation
Supported version: react-native >= 0.59.0
Clipboard
is not included in Expo SDK
Expo is currently not supported as $ yarn add react-native-otp-inputs @react-native-community/clipboard
After installation run:
$ npx pod-install
Clipboard module has been extracted from react-native core, so it needs to be installed separately. Package uses it for autofill feature
For React Native version 0.59
React Native <= 0.59
run the following command to link the package:
$ react-native link @react-native-community/clipboard
For iOS, make sure you install the pod file.
cd ios && pod install && cd ..
or you could follow the instructions to manually link the project
React-Native version | version |
---|---|
0.53.0 - 0.56.1 | yarn add [email protected] |
0.57.0 - 0.58.6 | yarn add [email protected] |
+0.59.0 | yarn add react-native-otp-inputs |
Basic usage
import React, { Component } from 'react';
import { View } from 'react-native';
import OtpInputs from 'react-native-otp-inputs';
export default class App extends Component {
render() {
return (
<View style={styles.container}>
<OtpInputs
handleChange={(code) => console.log(code)}
numberOfInputs={6}
/>
</View>
);
}
}
API
Contributors
Great thanks to : @kantorm.
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].