{"id":16234113,"url":"https://github.com/zackify/react-native-autofocus","last_synced_at":"2025-07-07T07:38:33.972Z","repository":{"id":57335551,"uuid":"98826636","full_name":"zackify/react-native-autofocus","owner":"zackify","description":"Autofocus the next input field on enter in React Native","archived":false,"fork":false,"pushed_at":"2018-08-15T14:55:35.000Z","size":12,"stargazers_count":86,"open_issues_count":4,"forks_count":11,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-06T08:04:56.384Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://zach.codes/autofocus-inputs-in-react-native/","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/zackify.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}},"created_at":"2017-07-30T21:46:25.000Z","updated_at":"2025-03-30T00:43:55.000Z","dependencies_parsed_at":"2022-09-07T16:04:24.680Z","dependency_job_id":null,"html_url":"https://github.com/zackify/react-native-autofocus","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/zackify/react-native-autofocus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackify%2Freact-native-autofocus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackify%2Freact-native-autofocus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackify%2Freact-native-autofocus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackify%2Freact-native-autofocus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zackify","download_url":"https://codeload.github.com/zackify/react-native-autofocus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackify%2Freact-native-autofocus/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260221382,"owners_count":22976865,"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-10-10T13:15:03.461Z","updated_at":"2025-06-16T19:08:18.661Z","avatar_url":"https://github.com/zackify.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-autofocus\n`npm install react-native-autofocus`\n\nAutofocus the next input field on enter in React Native.\n\nHave you started with React Native, added a few inputs, and then realized you had to add refs just to focus onto the next input field? This little package solves that problem. Import your text input from this library and wrap them in a form:\n\n```js\nimport { Form, TextInput } from 'react-native-autofocus'\n\nexport default () =\u003e (\n  \u003cForm\u003e\n    \u003cTextInput placeholder=\"test\" /\u003e\n    \u003cTextInput placeholder=\"test 2\" /\u003e\n  \u003c/Form\u003e\n)\n```\n\nHit enter inside your first input, and the next field will be focused. The logic is all abstracted for you!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzackify%2Freact-native-autofocus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzackify%2Freact-native-autofocus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzackify%2Freact-native-autofocus/lists"}