{"id":4358,"url":"https://github.com/xcarpentier/rn-verifcode","last_synced_at":"2025-06-16T13:11:00.232Z","repository":{"id":34415258,"uuid":"178870194","full_name":"xcarpentier/rn-verifcode","owner":"xcarpentier","description":"🔢 React-Native component to input confirmation code for both Android and IOS","archived":false,"fork":false,"pushed_at":"2023-12-15T17:44:54.000Z","size":2216,"stargazers_count":25,"open_issues_count":18,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-30T16:04:56.719Z","etag":null,"topics":["react-native","textinput","verification-code"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xcarpentier.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":"xcarpentier","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-04-01T13:32:18.000Z","updated_at":"2023-12-15T17:43:02.000Z","dependencies_parsed_at":"2023-12-26T23:45:40.564Z","dependency_job_id":null,"html_url":"https://github.com/xcarpentier/rn-verifcode","commit_stats":{"total_commits":12,"total_committers":2,"mean_commits":6.0,"dds":"0.41666666666666663","last_synced_commit":"2d638d4df0ecc072f8bbf2cd0c3938005f2ceafa"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xcarpentier/rn-verifcode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcarpentier%2Frn-verifcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcarpentier%2Frn-verifcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcarpentier%2Frn-verifcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcarpentier%2Frn-verifcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xcarpentier","download_url":"https://codeload.github.com/xcarpentier/rn-verifcode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcarpentier%2Frn-verifcode/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260166308,"owners_count":22968635,"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":["react-native","textinput","verification-code"],"created_at":"2024-01-05T20:17:09.421Z","updated_at":"2025-06-16T13:11:00.195Z","avatar_url":"https://github.com/xcarpentier.png","language":"TypeScript","readme":"\u003cp align=\"center\" \u003e\n   \u003ca href=\"https://reactnative.gallery/xcarpentier/rn-verifcode\"\u003e\n    \u003cimg alt=\"react-native-suggester\" src=\"https://thumbs.gfycat.com/FittingAromaticChimpanzee-size_restricted.gif\" width=\"260\" height=\"510\" /\u003e\n \u003c/a\u003e\n\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/rn-verifcode\"\u003e\n  \u003cimg alt=\"npm downloads\" src=\"https://img.shields.io/npm/dm/rn-verifcode.svg\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/rn-verifcode\"\u003e\u003cimg alt=\"npm version\" src=\"https://badge.fury.io/js/rn-verifcode.svg\"/\u003e\u003c/a\u003e\n\n\u003c/p\u003e\n\n# rn-verifcode\n\n\u003e React-Native component to input confirmation code for both Android and IOS\n\n- customizable\n- fast paste **SMS-code**\n- **copy from clipboard**\n- reset code\n\n## How to use it ?\n\n```jsx\nimport * as React from 'react'\nimport { View, Button } from 'react-native'\nimport VerifCode from './src'\n\nexport default class App extends React.Component {\n  state = {}\n  ref = React.createRef()\n  render() {\n    return (\n      \u003cView style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}\u003e\n        \u003cVerifCode ref={this.ref} onFulfill={code =\u003e alert(code)} /\u003e\n        \u003cButton title=\"reset\" onPress={() =\u003e this.ref.current.reset()} /\u003e\n      \u003c/View\u003e\n    )\n  }\n}\n```\n\n## Props\n\n```ts\ninterface Props extends TextInputProps {\n  autofocus?: boolean\n  numberOfDigits?: number\n  onFulfill?(code: string): void\n}\n```\n\n## Hire an expert!\nLooking for a ReactNative freelance expert with more than 12 years experience? Contact me from my [website](https://xaviercarpentier.com)!\n","funding_links":["https://github.com/sponsors/xcarpentier"],"categories":["Components"],"sub_categories":["UI"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxcarpentier%2Frn-verifcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxcarpentier%2Frn-verifcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxcarpentier%2Frn-verifcode/lists"}