{"id":50946750,"url":"https://github.com/vahissan/react-native-material-loading-button","last_synced_at":"2026-06-17T21:03:16.372Z","repository":{"id":57338280,"uuid":"122677954","full_name":"vahissan/react-native-material-loading-button","owner":"vahissan","description":"A simple material style button which supports loading state","archived":false,"fork":false,"pushed_at":"2018-11-27T20:32:47.000Z","size":258,"stargazers_count":2,"open_issues_count":2,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-22T22:37:03.736Z","etag":null,"topics":["material-design","react-native","react-native-component"],"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/vahissan.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-02-23T22:10:27.000Z","updated_at":"2021-08-30T17:51:41.000Z","dependencies_parsed_at":"2022-08-31T03:51:42.069Z","dependency_job_id":null,"html_url":"https://github.com/vahissan/react-native-material-loading-button","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vahissan/react-native-material-loading-button","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vahissan%2Freact-native-material-loading-button","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vahissan%2Freact-native-material-loading-button/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vahissan%2Freact-native-material-loading-button/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vahissan%2Freact-native-material-loading-button/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vahissan","download_url":"https://codeload.github.com/vahissan/react-native-material-loading-button/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vahissan%2Freact-native-material-loading-button/sbom","scorecard":{"id":914694,"data":{"date":"2025-08-11","repo":{"name":"github.com/vahissan/react-native-material-loading-button","commit":"48e53c2fdee86f8779df44e8f508753284b4791c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/10 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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"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":"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":"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":"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.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md: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":"Vulnerabilities","score":0,"reason":"12 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574","Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-662x-fhqg-9p8v","Warn: Project is vulnerable to: GHSA-394c-5j6w-4xmx","Warn: Project is vulnerable to: GHSA-78cj-fxph-m83p","Warn: Project is vulnerable to: GHSA-fhg7-m89q-25r3"],"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-24T20:32:58.522Z","repository_id":57338280,"created_at":"2025-08-24T20:32:58.522Z","updated_at":"2025-08-24T20:32:58.522Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34465328,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"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":["material-design","react-native","react-native-component"],"created_at":"2026-06-17T21:03:16.223Z","updated_at":"2026-06-17T21:03:16.364Z","avatar_url":"https://github.com/vahissan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-material-loading-button\n![Flat-Normal](https://github.com/vahissan/react-native-material-loading-button/raw/readme/images/flat_normal.gif)\n![Flat-Loading](https://github.com/vahissan/react-native-material-loading-button/raw/readme/images/flat_loading.gif)\n\u003cbr\u003e\n![Raised-Normal](https://github.com/vahissan/react-native-material-loading-button/raw/readme/images/raised_normal.gif)\n![Raised-Loading](https://github.com/vahissan/react-native-material-loading-button/raw/readme/images/raised_loading.gif)\n\nA simple material style button with \"Raised\" (default) and \"Flat\" styles, which supports a \"Loading\" state which makes the user wait for the action to complete without affecting the user experience.\n\n## Installation\n\n`npm install -S react-native-material-loading-button`\n\n## Adding Roboto-Medium Font\n\nThis component requires `Roboto-Medium` font to be added in the main project. You can download the font from [Google Fonts](https://fonts.google.com/specimen/Roboto).\n\nIf you need help adding custom font to a React Native project, refer [this article](https://medium.com/@danielskripnik/how-to-add-and-remove-custom-fonts-in-react-native-b2830084b0e4).\n\n## Usage\n\n```javascript\nimport React, { Component } from 'react';\nimport MaterialButton from 'react-native-material-loading-button';\n\n...\n\nclass Demo extends Component {\n  \n  ...\n\n  render() {\n    return (\n      \u003cMaterialButton\n        text=\"Upload\"\n        loadingText=\"Uploading\"\n        isLoading={this.state.loading} \n        onPress={() =\u003e this.onBtnPress()} /\u003e\n    );\n  }\n}\n\n...\n```\n\n## Props\n\n| Name | Description | Type | Default |\n| ---- |------------ | :---:| ------- |\n| text | Button text | string | Button |\n| flat | `true` if you want a flat button. Renders a raised button otherwise | boolean | false |\n| color | Primary color of the button. This will be background color for raised button (default). For flat buttons, this will set the text color. | string | #039be5 |\n| onPress | Event handler for button onPress | function | - |\n| isLoading | `true` if the button should be rendered in a \"loading\" state (like in the animation at the top). | boolean | false |\n| loadingText | This is be the button text next to the loading spinner if specified. Otherwise, value of \"text\" will be shown next to the loading spinner. | string | - |\n| disabled | Button will not be clickable and visually goes to \"disabled\" state if set to `true` | boolean | false |\n| style | Add a custom style to outer container of the button | object | - |\n| textStyle | Add a custom style to the button text | object | - |\n\n## License\n\n\u0026copy; 2018 Vahissan Nandakumar, [MIT license](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvahissan%2Freact-native-material-loading-button","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvahissan%2Freact-native-material-loading-button","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvahissan%2Freact-native-material-loading-button/lists"}