{"id":16096783,"url":"https://github.com/fukuball/react-native-orientation-loading-overlay","last_synced_at":"2025-07-26T16:11:14.419Z","repository":{"id":57338841,"uuid":"80919280","full_name":"fukuball/react-native-orientation-loading-overlay","owner":"fukuball","description":"Orientation supported loading overlay for React Native.","archived":false,"fork":false,"pushed_at":"2020-01-30T18:45:18.000Z","size":10169,"stargazers_count":10,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-26T09:04:46.294Z","etag":null,"topics":["loading","loading-screen","orientation","overlay","react-native"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/fukuball.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":"2017-02-04T12:54:21.000Z","updated_at":"2024-04-26T09:04:46.295Z","dependencies_parsed_at":"2022-09-01T20:32:45.696Z","dependency_job_id":null,"html_url":"https://github.com/fukuball/react-native-orientation-loading-overlay","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fukuball%2Freact-native-orientation-loading-overlay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fukuball%2Freact-native-orientation-loading-overlay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fukuball%2Freact-native-orientation-loading-overlay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fukuball%2Freact-native-orientation-loading-overlay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fukuball","download_url":"https://codeload.github.com/fukuball/react-native-orientation-loading-overlay/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243910715,"owners_count":20367538,"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":["loading","loading-screen","orientation","overlay","react-native"],"created_at":"2024-10-09T17:25:02.216Z","updated_at":"2025-03-18T07:30:39.075Z","avatar_url":"https://github.com/fukuball.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Native Orientation Loading Overlay\n\n[![NPM version][npm-image]][npm-url]\n[![NPM downloads][npm-downloads]][npm-url]\n[![MIT License][license-image]][license-url]\n\n\u003e **tldr;** Orientation supported loading overlay for [React Native][react-native].\n\nDefault View\n\n![Original Demo][original-demo]\n\nCustom View\n\n![Custom Demo][custom-demo]\n\n## Install\n\n```bash\nnpm install --save react-native-orientation-loading-overlay@latest\n```\n\n## Usage\n\n* visible: true or false\n* color: color string\n* indicatorSize: large, normal, or small\n* messageFontSize: number\n* message: string content\n\nFor example ([Runnable Example][runnable-example-1]):\n\n```js\nimport React, { Component } from 'react';\nimport {\n  AppRegistry,\n  StyleSheet,\n  Text,\n  View\n} from 'react-native';\nimport OrientationLoadingOverlay from 'react-native-orientation-loading-overlay';\n\nexport default class original extends Component {\n  render() {\n    return (\n      \u003cView style={styles.container}\u003e\n        \u003cText style={styles.welcome}\u003e\n          Welcome to React Native!\n        \u003c/Text\u003e\n        \u003cText style={styles.instructions}\u003e\n          To get started, edit index.ios.js\n        \u003c/Text\u003e\n        \u003cText style={styles.instructions}\u003e\n          Press Cmd+R to reload,{'\\n'}\n          Cmd+D or shake for dev menu\n        \u003c/Text\u003e\n        \u003cOrientationLoadingOverlay\n          visible={true}\n          color=\"white\"\n          indicatorSize=\"large\"\n          messageFontSize={24}\n          message=\"Loading... 😀😀😀\"\n          /\u003e\n      \u003c/View\u003e\n    );\n  }\n}\n\nconst styles = StyleSheet.create({\n  container: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#F5FCFF',\n  },\n  welcome: {\n    fontSize: 20,\n    textAlign: 'center',\n    margin: 10,\n  },\n  instructions: {\n    textAlign: 'center',\n    color: '#333333',\n    marginBottom: 5,\n  },\n});\n\nAppRegistry.registerComponent('original', () =\u003e original);\n```\n\nOr use your custom indicator ([Runnable Example][runnable-example-2]):\n\n```js\nimport React, { Component } from 'react';\nimport {\n  AppRegistry,\n  StyleSheet,\n  Text,\n  View,\n  Image\n} from 'react-native';\nimport OrientationLoadingOverlay from 'react-native-orientation-loading-overlay';\n\nexport default class custom extends Component {\n  render() {\n    return (\n      \u003cView style={styles.container}\u003e\n        \u003cText style={styles.welcome}\u003e\n          Welcome to React Native!\n        \u003c/Text\u003e\n        \u003cText style={styles.instructions}\u003e\n          To get started, edit index.ios.js\n        \u003c/Text\u003e\n        \u003cText style={styles.instructions}\u003e\n          Press Cmd+R to reload,{'\\n'}\n          Cmd+D or shake for dev menu\n        \u003c/Text\u003e\n        \u003cOrientationLoadingOverlay\n          visible={true}\n          \u003e\n          \u003cView\u003e\n            \u003cImage\n              source={require('./assets/img/loading-cat.gif')}\n              /\u003e\n          \u003c/View\u003e\n        \u003c/OrientationLoadingOverlay\u003e\n      \u003c/View\u003e\n    );\n  }\n}\n\nconst styles = StyleSheet.create({\n  container: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#F5FCFF',\n  },\n  welcome: {\n    fontSize: 20,\n    textAlign: 'center',\n    margin: 10,\n  },\n  instructions: {\n    textAlign: 'center',\n    color: '#333333',\n    marginBottom: 5,\n  },\n});\n\nAppRegistry.registerComponent('custom', () =\u003e custom);\n```\n\n## Contributors\n\nFukuball \u003cfukuball@gmail.com\u003e\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2017 fukuball\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n[npm-image]: http://img.shields.io/npm/v/react-native-orientation-loading-overlay.svg?style=flat\n[npm-url]: https://npmjs.org/package/react-native-orientation-loading-overlay\n[npm-downloads]: http://img.shields.io/npm/dm/react-native-orientation-loading-overlay.svg?style=flat\n[license-image]: http://img.shields.io/badge/license-MIT-blue.svg?style=flat\n[license-url]: LICENSE\n[react-native]: https://facebook.github.io/react-native\n[original-demo]: https://cdn.rawgit.com/fukuball/react-native-orientation-loading-overlay/master/screenshot/original-iphone.gif\n[custom-demo]: https://cdn.rawgit.com/fukuball/react-native-orientation-loading-overlay/master/screenshot/custom-iphone.gif\n[runnable-example-1]: https://github.com/fukuball/react-native-orientation-loading-overlay/tree/master/example/original\n[runnable-example-2]: https://github.com/fukuball/react-native-orientation-loading-overlay/tree/master/example/custom","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffukuball%2Freact-native-orientation-loading-overlay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffukuball%2Freact-native-orientation-loading-overlay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffukuball%2Freact-native-orientation-loading-overlay/lists"}