https://github.com/johelder/react-native-input-code-otp
react-native-input-code-otp is a high-performance and fully customizable OTP input component for React Native, inspired by @shadcn/ui.
https://github.com/johelder/react-native-input-code-otp
expo one-time-password otp otp-input react-native react-native-input-code-otp react-native-otp react-native-otp-input sms-code verification-code
Last synced: about 1 month ago
JSON representation
react-native-input-code-otp is a high-performance and fully customizable OTP input component for React Native, inspired by @shadcn/ui.
- Host: GitHub
- URL: https://github.com/johelder/react-native-input-code-otp
- Owner: johelder
- License: mit
- Created: 2025-04-02T02:00:43.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2025-04-10T03:03:04.000Z (about 2 months ago)
- Last Synced: 2025-04-10T03:34:42.637Z (about 2 months ago)
- Topics: expo, one-time-password, otp, otp-input, react-native, react-native-input-code-otp, react-native-otp, react-native-otp-input, sms-code, verification-code
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/react-native-input-code-otp
- Size: 1.33 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# react-native-input-code-otp
react-native-input-code-otp is a high-performance and fully customizable OTP input component for React Native, inspired by @shadcn/ui.

## Installation
```sh
npm install react-native-input-code-otp
```## Usage
```ts
import {
TextInputOTP,
TextInputOTPSlot,
TextInputOTPGroup,
TextInputOTPSeparator,
} from 'react-native-input-code-otp';export function MyComponent() {
return (
console.log(code)}>
)
}
```## Contributing
Contributions are welcome! Please feel free to open issues or submit pull requests.
If you find a bug or have any feature requests, please open an issue :)
## License
This project is licensed under the MIT License.