{"id":13881046,"url":"https://github.com/react-navigation/stack","last_synced_at":"2025-07-16T17:31:39.569Z","repository":{"id":57121511,"uuid":"143473910","full_name":"react-navigation/stack","owner":"react-navigation","description":"Stack navigator for React Navigation","archived":true,"fork":false,"pushed_at":"2020-02-24T17:26:27.000Z","size":3911,"stargazers_count":389,"open_issues_count":5,"forks_count":193,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-07-07T09:24:11.096Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/react-navigation.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-03T21:15:11.000Z","updated_at":"2025-06-10T22:16:39.000Z","dependencies_parsed_at":"2022-08-24T11:00:23.614Z","dependency_job_id":null,"html_url":"https://github.com/react-navigation/stack","commit_stats":null,"previous_names":["react-navigation/react-navigation-stack"],"tags_count":84,"template":false,"template_full_name":null,"purl":"pkg:github/react-navigation/stack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-navigation%2Fstack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-navigation%2Fstack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-navigation%2Fstack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-navigation%2Fstack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/react-navigation","download_url":"https://codeload.github.com/react-navigation/stack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-navigation%2Fstack/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264890164,"owners_count":23678856,"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-08-06T08:03:51.305Z","updated_at":"2025-07-16T17:31:37.364Z","avatar_url":"https://github.com/react-navigation.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"This package has been moved to https://github.com/react-navigation/react-navigation/tree/master/packages/stack\n\n---\n\n# React Navigation Stack\n\n[![Build Status][build-badge]][build]\n[![Version][version-badge]][package]\n[![MIT License][license-badge]][license]\n\nStack navigator for use on iOS and Android.\n\n## Installation\n\nOpen a Terminal in your project's folder and run,\n\n```sh\nyarn add react-navigation-stack @react-native-community/masked-view react-native-safe-area-context\n```\n\nor\n\n```sh\nnpm install react-navigation-stack @react-native-community/masked-view react-native-safe-area-context\n```\n\n## Usage\n\n```js\nimport { createStackNavigator } from 'react-navigation-stack';\n\nexport default createStackNavigator({\n  Inbox: InboxScreen,\n  Drafts: DraftsScreen,\n}, {\n  initialRouteName: 'Inbox',\n});\n```\n\n## Development workflow\n\nTo setup the development environment, open a Terminal in the repo directory and run the following:\n\n```sh\nyarn bootstrap\n```\n\nWhile developing, you can run the example app with [Expo](https://expo.io/) to test your changes:\n\n```sh\nyarn example start\n```\n\nThe code in this repo uses the source from [`@react-navigation/stack`](https://github.com/react-navigation/navigation-ex/tree/master/packages/stack) and patches it to make it usable in React Navigation 4. If you need to make changes, please send a pull request there.\n\nIf the change is specifically related to React Navigation 4 integration, first run `yarn sync`, then change the files in `src/vendor` and then run `yarn patch` to update the patch file with the latest changes.\n\nMake sure your code passes TypeScript and ESLint. Run the following to verify:\n\n```sh\nyarn typescript\nyarn lint\n```\n\nTo fix formatting errors, run the following:\n\n```sh\nyarn lint --fix\n```\n\n## Docs\n\nDocumentation can be found on the [React Navigation website](https://reactnavigation.org/docs/en/stack-navigator.html).\n\n\u003c!-- badges --\u003e\n\n[build-badge]: https://img.shields.io/circleci/project/github/react-navigation/stack/master.svg?style=flat-square\n[build]: https://circleci.com/gh/react-navigation/stack\n[version-badge]: https://img.shields.io/npm/v/react-navigation-stack.svg?style=flat-square\n[package]: https://www.npmjs.com/package/react-navigation-stack\n[license-badge]: https://img.shields.io/npm/l/react-navigation-stack.svg?style=flat-square\n[license]: https://opensource.org/licenses/MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-navigation%2Fstack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freact-navigation%2Fstack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-navigation%2Fstack/lists"}