{"id":27240646,"url":"https://github.com/johelder/react-native-input-code-otp","last_synced_at":"2025-04-10T19:45:15.610Z","repository":{"id":285662124,"uuid":"958930640","full_name":"johelder/react-native-input-code-otp","owner":"johelder","description":"react-native-input-code-otp is a high-performance and fully customizable OTP input component for React Native, inspired by @shadcn/ui.","archived":false,"fork":false,"pushed_at":"2025-04-10T03:03:04.000Z","size":1391,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T03:34:42.637Z","etag":null,"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"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/react-native-input-code-otp","language":"TypeScript","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/johelder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-02T02:00:43.000Z","updated_at":"2025-04-10T03:03:07.000Z","dependencies_parsed_at":"2025-04-02T02:22:40.952Z","dependency_job_id":"563466db-6ee0-4b55-bb49-d74f23f4d078","html_url":"https://github.com/johelder/react-native-input-code-otp","commit_stats":null,"previous_names":["johelder/react-native-input-code-otp"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johelder%2Freact-native-input-code-otp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johelder%2Freact-native-input-code-otp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johelder%2Freact-native-input-code-otp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johelder%2Freact-native-input-code-otp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johelder","download_url":"https://codeload.github.com/johelder/react-native-input-code-otp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248154984,"owners_count":21056542,"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":["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"],"created_at":"2025-04-10T19:45:14.952Z","updated_at":"2025-04-10T19:45:15.595Z","avatar_url":"https://github.com/johelder.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-input-code-otp\n\nreact-native-input-code-otp is a high-performance and fully customizable OTP input component for React Native, inspired by @shadcn/ui.\n\n![Presentation Video](./.github/assets/react-native-input-code-otp.gif)\n\n## Installation\n\n```sh\nnpm install react-native-input-code-otp\n```\n\n## Usage\n\n```ts\nimport {\n  TextInputOTP,\n  TextInputOTPSlot,\n  TextInputOTPGroup,\n  TextInputOTPSeparator,\n} from 'react-native-input-code-otp';\n\nexport function MyComponent() {\n  return (\n    \u003cTextInputOTP maxLength={6} onFilled={(code) =\u003e console.log(code)}\u003e\n      \u003cTextInputOTPGroup\u003e\n        \u003cTextInputOTPSlot index={0} /\u003e\n        \u003cTextInputOTPSlot index={1} /\u003e\n        \u003cTextInputOTPSlot index={2} /\u003e\n      \u003c/TextInputOTPGroup\u003e\n      \u003cTextInputOTPSeparator /\u003e\n      \u003cTextInputOTPGroup\u003e\n        \u003cTextInputOTPSlot index={3} /\u003e\n        \u003cTextInputOTPSlot index={4} /\u003e\n        \u003cTextInputOTPSlot index={5} /\u003e\n      \u003c/TextInputOTPGroup\u003e\n    \u003c/TextInputOTP\u003e\n  )\n}\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to open issues or submit pull requests.\n\nIf you find a bug or have any feature requests, please open an issue :)\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohelder%2Freact-native-input-code-otp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohelder%2Freact-native-input-code-otp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohelder%2Freact-native-input-code-otp/lists"}