{"id":20745771,"url":"https://github.com/tschoffelen/react-native-keycode","last_synced_at":"2025-04-24T06:49:00.153Z","repository":{"id":50090272,"uuid":"113617251","full_name":"tschoffelen/react-native-keycode","owner":"tschoffelen","description":"🔢 Show the user a input form for a fixed-length code or password.","archived":false,"fork":false,"pushed_at":"2023-09-25T07:33:43.000Z","size":87,"stargazers_count":43,"open_issues_count":3,"forks_count":20,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-24T06:48:54.311Z","etag":null,"topics":["android","ios","react-native"],"latest_commit_sha":null,"homepage":"https://flexible.agency","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tschoffelen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-12-08T21:05:09.000Z","updated_at":"2024-06-29T14:01:11.000Z","dependencies_parsed_at":"2023-11-17T01:09:50.011Z","dependency_job_id":null,"html_url":"https://github.com/tschoffelen/react-native-keycode","commit_stats":{"total_commits":24,"total_committers":6,"mean_commits":4.0,"dds":0.5,"last_synced_commit":"0a9d60a3dca7a9884391e640e4d5b0d5ad698e8c"},"previous_names":["includable/react-native-keycode"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschoffelen%2Freact-native-keycode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschoffelen%2Freact-native-keycode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschoffelen%2Freact-native-keycode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschoffelen%2Freact-native-keycode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tschoffelen","download_url":"https://codeload.github.com/tschoffelen/react-native-keycode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250580712,"owners_count":21453531,"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":["android","ios","react-native"],"created_at":"2024-11-17T07:22:38.452Z","updated_at":"2025-04-24T06:49:00.131Z","avatar_url":"https://github.com/tschoffelen.png","language":"JavaScript","readme":"# React Native Keycode\n\nShow the user a input form for a fixed-length code or password.\n\n\u003ctable\u003e\u003ctr\u003e\u003ctd\u003e\n    \u003cimg src=\"./screenshot.png\" height=\"320\" /\u003e\n\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n\n## Installation\n\n```\nnpm i -S react-native-keycode         # or: yarn add react-native-keycode\n```\n\n\n## Usage\n\n```\n// import statement:\nimport { KeycodeInput } from 'react-native-keycode'\n\n// in your render function:\n\u003cKeycodeInput\n  onComplete={(value) =\u003e {\n    alert(value)\n  }}\n/\u003e\n```\n\n### Complete example\nView a more complex example here: [example/App.js](example/App.js).\n\n### Props\n* number `length`: number of characters in input (default: 4)\n* string `textColor`: color string for the color of the characters (default: black)\n* string `tintColor`: color string for the color of the active bottom bar (default: iOS blue)\n* string `defaultValue`: default ''\n* string `value`: default ''\n* boolean `uppercase`: default true\n* boolean `autoFocus`: default true\n* boolean `alphaNumeric`: default true, set to false to allow other characters than 0-9, A-Z\n* boolean `numberic`: default false\n* object `style`\n* function `onComplete`\n* function `onChange`\n* function `ref`\n\n\n## Authors\n\nThis library is developed by [Includable](https://includable.com/), a creative app and web platform\ndevelopment agency based in Amsterdam, The Netherlands.\n\n* Thomas Schoffelen, [@tschoffelen](https://twitter.com/tschoffelen)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftschoffelen%2Freact-native-keycode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftschoffelen%2Freact-native-keycode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftschoffelen%2Freact-native-keycode/lists"}