{"id":21536521,"url":"https://github.com/imbudhiraja/react-native-lottie-loader","last_synced_at":"2025-08-26T22:21:45.416Z","repository":{"id":33696550,"uuid":"163045509","full_name":"imbudhiraja/react-native-lottie-loader","owner":"imbudhiraja","description":"A React Native Loader Component which uses Airbnb's Lottie for beautiful loader animations.","archived":false,"fork":false,"pushed_at":"2023-01-07T02:39:34.000Z","size":975,"stargazers_count":13,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-23T13:10:55.445Z","etag":null,"topics":["animation","loader","lottie-animation","lottie-animation-spinners","react","react-native","react-native-animation","react-native-component","spinner"],"latest_commit_sha":null,"homepage":"","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/imbudhiraja.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":"2018-12-25T04:18:44.000Z","updated_at":"2025-05-02T09:25:57.000Z","dependencies_parsed_at":"2023-01-15T02:06:30.684Z","dependency_job_id":null,"html_url":"https://github.com/imbudhiraja/react-native-lottie-loader","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/imbudhiraja/react-native-lottie-loader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imbudhiraja%2Freact-native-lottie-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imbudhiraja%2Freact-native-lottie-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imbudhiraja%2Freact-native-lottie-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imbudhiraja%2Freact-native-lottie-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imbudhiraja","download_url":"https://codeload.github.com/imbudhiraja/react-native-lottie-loader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imbudhiraja%2Freact-native-lottie-loader/sbom","scorecard":{"id":485145,"data":{"date":"2025-08-11","repo":{"name":"github.com/imbudhiraja/react-native-lottie-loader","commit":"7d4c9f1ef068fee9ff08304bb6b328308efdd4c9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/14 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 11 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"13 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-44c6-4v22-4mhx","Warn: Project is vulnerable to: GHSA-4x5v-gmq8-25ch","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T17:34:32.449Z","repository_id":33696550,"created_at":"2025-08-19T17:34:32.449Z","updated_at":"2025-08-19T17:34:32.449Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272261395,"owners_count":24902448,"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","status":"online","status_checked_at":"2025-08-26T02:00:07.904Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["animation","loader","lottie-animation","lottie-animation-spinners","react","react-native","react-native-animation","react-native-component","spinner"],"created_at":"2024-11-24T03:19:58.378Z","updated_at":"2025-08-26T22:21:45.390Z","avatar_url":"https://github.com/imbudhiraja.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Native Lottie Loader\r\n----\r\n\r\nA React Native Loader Component which uses Airbnb's [Lottie](https://lottiefiles.com) for beautiful loader animations. This library uses [lottie-react-native](https://github.com/react-native-community/lottie-react-native) to render loader animations. Therefor this library need to be installed and linked to your project before installing this package.\r\n\r\n\u003cimg src=\"./samples/sample-1.gif\" width=\"200\"\u003e \u0026nbsp;\u0026nbsp;\r\n\u003cimg src=\"./samples/sample-2.gif\" width=\"200\"\u003e \u0026nbsp;\u0026nbsp;\r\n\u003cimg src=\"./samples/sample-3.gif\" width=\"200\"\u003e\r\n\r\n### Installation\r\n----\r\n```\r\nnpm install --save react-native-lottie-loader lottie-react-native\r\nreact-native link lottie-ios\r\nreact-native link lottie-react-native\r\n```\r\n\r\n### Usage\r\n----\r\n\r\n```\r\nimport React from 'react';\r\nimport LottieLoader from 'react-native-lottie-loader';\r\n\r\nexport default class Loader extends React.Component {\r\n  constructor(props) {\r\n    super(props);\r\n    this.state = { visible: true };\r\n  }\r\n\r\n  componentDidMount() {\r\n    const context = this;\r\n\r\n    setTimeout(() =\u003e {\r\n      context.setState({ visible: false });\r\n    }, 3000);\r\n  }\r\n\r\n  render() {\r\n    const { visible } = this.state;\r\n\r\n    return \u003cLottieLoader visible={visible} /\u003e;\r\n  }\r\n}\r\n```\r\n\r\n### Usage with redux\r\n----\r\n\r\n```\r\nimport React from 'react';\r\nimport { bool } from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport LottieLoader from 'react-native-lottie-loader';\r\n\r\nclass Loader extends React.PureComponent {\r\n  static propTypes = { visible: bool.isRequired };\r\n\r\n  render() {\r\n    const { visible } = this.props;\r\n\r\n    return \u003cLottieLoader visible={visible} /\u003e;\r\n  }\r\n}\r\n\r\nconst mapStateToProps = ({ app: { visible } }) =\u003e ({ visible });\r\n\r\nexport default connect(mapStateToProps)(Loader);\r\n\r\n```\r\n\r\n\r\n### Props\r\n----\r\n| Prop  | Description | Default |   \r\n| ------------- | ------------- | ------------- |\r\n| animationStyle  | [View.propTypes.style](https://facebook.github.io/react-native/docs/view.html#style) - The style to be applied to the Lottie. | -  |\r\n| animationType  | Changes animation on show and hide loader's view. Animation types supported by [Modal](https://facebook.github.io/react-native/docs/modal) | none  |\r\n| autoPlay\t  | A boolean flag indicating whether or not the animation should start automatically when mounted. | true |\r\n| autoSize\t  | A boolean flag indicating whether or not the animation should size itself automatically according to the width in the animation's JSON. This only works when source is an actual JS object of an animation. | false |\r\n| loop\t  | A boolean flag indicating whether or not the animation should loop.\t| true |\r\n| source  | Mandatory - The source of animation. Can be referenced as a local asset by a string, or remotely with an object with a uri property, or it can be an actual JS object of an animation, obtained (for example) with something like require('../path/to/animation.json'). [Lottie Animations](https://lottiefiles.com) used for animation | [Lottie Object](https://www.lottiefiles.com/1240-car2go-global-loading-animation)  |\r\n| speed  | Speed the animation will progress. | 1 |\r\n| style  | Style attributes for the view, as expected in a standard View. [View.propTypes.style](https://facebook.github.io/react-native/docs/view.html#style)  | - |\r\n| supportedOrientations  | Orientations supported by [Modal](https://facebook.github.io/react-native/docs/modal) | portrait  |\r\n| visible  | Controls the visibility of the loader. | false  |\r\n\r\n### Methods (Imperative API):\r\n----\r\n| Method  | Description |   \r\n| ------------- |--------------------------------------------------------------------------| \r\nplay | Play the animation all the way through, at the speed specified as a prop.  |\r\n| reset  | Reset the animation back to 0 progress. |\r\n\r\n### License\r\n----\r\n\r\nLicensed under the [MIT](https://github.com/imbudhiraja/react-native-lottie-loader/blob/master/LICENSE)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimbudhiraja%2Freact-native-lottie-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimbudhiraja%2Freact-native-lottie-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimbudhiraja%2Freact-native-lottie-loader/lists"}