{"id":19703220,"url":"https://github.com/patrikken/react-native-code-textinput","last_synced_at":"2025-04-29T14:30:40.002Z","repository":{"id":57336116,"uuid":"189186290","full_name":"patrikken/react-native-code-textinput","owner":"patrikken","description":"React native component for code input field","archived":false,"fork":false,"pushed_at":"2020-08-01T14:28:29.000Z","size":192,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-23T06:05:29.048Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/patrikken.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-29T08:45:46.000Z","updated_at":"2021-10-31T19:50:58.000Z","dependencies_parsed_at":"2022-09-11T02:11:58.474Z","dependency_job_id":null,"html_url":"https://github.com/patrikken/react-native-code-textinput","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrikken%2Freact-native-code-textinput","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrikken%2Freact-native-code-textinput/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrikken%2Freact-native-code-textinput/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrikken%2Freact-native-code-textinput/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patrikken","download_url":"https://codeload.github.com/patrikken/react-native-code-textinput/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251518767,"owners_count":21602208,"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":[],"created_at":"2024-11-11T21:17:18.652Z","updated_at":"2025-04-29T14:30:39.641Z","avatar_url":"https://github.com/patrikken.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# react-native-code-textinput\nInput code component for React Native on iOS and Android.\n\n## Examples\n\n![React Native Code Input Squared](https://res.cloudinary.com/dehgyoegg/image/upload/v1591659890/screenshots/Screenshot_2020-06-09_at_02.39.41_nf7o8f.png)\n![React Native Code Input Rounded](https://res.cloudinary.com/dehgyoegg/image/upload/v1591659890/screenshots/Screenshot_2020-06-09_at_02.41.46_vcta3v.png)\n![React Native Code Input with Border](https://res.cloudinary.com/dehgyoegg/image/upload/v1591659890/screenshots/Screenshot_2020-06-09_at_02.42.24_wytihr.png)\n![React Native Code Input Video1](https://res.cloudinary.com/dehgyoegg/image/upload/v1591660438/screenshots/Screen-Recording-2020-06-09-at-02.42.40_xtcfbm.gif) \n![React Native Code Input Video2](https://res.cloudinary.com/dehgyoegg/image/upload/v1591660437/screenshots/Screen-Recording-2020-06-09-at-02.40.44_kh0hu4.gif) \n![React Native Code Input Video1](https://res.cloudinary.com/dehgyoegg/image/upload/v1591660437/screenshots/Screen-Recording-2020-06-09-at-02.43.37_vtukut.gif) \n\n## Setup\n\n```bash\nnpm install --save react-native-code-textinput\n```\n\n## Usage\n\n```javascript\nimport CodeInput from 'react-native-code-textinput';\n...\n\u003cCodeInput \n        codeSize={4} \n        prefilledValue={\"1234\"}  \n        onValueChange={(val) =\u003e { }} \n        inputStyle={styles.input_style} \u003e\n\u003c/CodeInput\u003e\n...\n```\n## Properties\n\n name                  | description                                         | type     \n:--------------------- |:--------------------------------------------------- | --------\n codeSize              | Size of the code (Number of TextInput to display)   |   Boolean\n prefilledValue        | Fill the inputs with default value                  |   String (OPTIONAL) \n keyboardTypeOptions   | Keyboard type of inputs                             |   KeyboardTypeOptions (OPTIONAL)\n initValueTextInput    | Default value for the TextInput                     |   String (OPTIONAL)\n inputStyle            | Custom style of the Textinputs                      |   TextStyle (OPTIONAL) \n activeStyle           | Custom style of when inputs are active              |   TextStyle (OPTIONAL) \n\n## Methods\n\n name            | description                                        | returns\n:--------------  |:-------------------------------------------------- | -------:\n onValueChange() | Event fired when the user fill an input            |  String ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrikken%2Freact-native-code-textinput","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatrikken%2Freact-native-code-textinput","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrikken%2Freact-native-code-textinput/lists"}