{"id":4075,"url":"https://github.com/prscX/react-native-shine-button","last_synced_at":"2025-08-04T00:31:22.804Z","repository":{"id":48686033,"uuid":"117335542","full_name":"prscX/react-native-shine-button","owner":"prscX","description":"React Native: Native Shine Button - Effects like shining","archived":false,"fork":false,"pushed_at":"2021-07-14T08:33:13.000Z","size":4977,"stargazers_count":354,"open_issues_count":14,"forks_count":36,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-07-07T03:10:29.207Z","etag":null,"topics":["android","ios","react-native"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prscX.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-01-13T10:45:23.000Z","updated_at":"2025-05-12T03:28:02.000Z","dependencies_parsed_at":"2022-07-25T01:32:16.337Z","dependency_job_id":null,"html_url":"https://github.com/prscX/react-native-shine-button","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/prscX/react-native-shine-button","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prscX%2Freact-native-shine-button","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prscX%2Freact-native-shine-button/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prscX%2Freact-native-shine-button/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prscX%2Freact-native-shine-button/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prscX","download_url":"https://codeload.github.com/prscX/react-native-shine-button/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prscX%2Freact-native-shine-button/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268633555,"owners_count":24281810,"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-03T02:00:12.545Z","response_time":2577,"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":["android","ios","react-native"],"created_at":"2024-01-05T20:17:00.296Z","updated_at":"2025-08-04T00:31:22.349Z","avatar_url":"https://github.com/prscX.png","language":"Java","readme":"\u003ch1 align=\"center\"\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/react-native-shine-button\"\u003e\u003cimg src=\"http://img.shields.io/npm/v/react-native-shine-button.svg?style=flat\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/prscX/react-native-shine-button/pulls\"\u003e\u003cimg alt=\"PRs Welcome\" src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/prscX/react-native-shine-button#License\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/react-native-shine-button.svg?style=flat\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n    ReactNative: Native Shine Button (Android/iOS)\n\nIf this project has helped you out, please support us with a star 🌟\n\n\u003c/h1\u003e\n\nThis library is a React Native bridge around native Siri wave animation:\n\n| **[Android: ChadCSong/ShineButton](https://github.com/ChadCSong/ShineButton) \u0026 [iOS: imwcl/WCLShineButton](https://github.com/imwcl/WCLShineButton)** |\n| ----------------------------------------------------------------------------------------------------------------------------------------------------- |\n\n\n|                                 |\n| ------------------------------- |\n| \u003cimg src=\"./assets/hero.gif\" /\u003e |\n\n## 📖 Getting started\n\n`$ npm install react-native-shine-button --save`\n\n## **RN61 \u003e= RNBAS V2 \u003e**\n\n- Add `react-native-image-helper` to your app package.json\n\n`$ npm install react-native-image-helper --save`\n\n- Add `react-native-vector-icons` to your app package.json and configure it as per their installation steps\n\n`$ npm install react-native-vector-icons --save`\n\n- **iOS**\n\n      \t- Add the following to your `Podfile` -\u003e `ios/Podfile` and run pod update:\n\n      \t```\n      \t  \tuse_native_modules!\n        pod 'RNShineButton', :path =\u003e '../node_modules/react-native-shine-button/ios'\n\n        use_frameworks!\n        pod 'WCLShineButton',:git =\u003e 'https://github.com/prscX/WCLShineButton.git', :branch =\u003e'master'\n      \t```\n\n- **Android**\n\nPlease add below snippet into your app `build.gradle`\n\n```\nallprojects {\n    repositories {\n        maven { url 'https://jitpack.io' }\n    }\n}\n```\n\n## **RN61 \u003e= RNBAS V1 \u003e**\n\n\u003e RN61+ please use `react-native-shine-button` V1 and above\n\n- **iOS**\n\n      \t- Add the following to your `Podfile` -\u003e `ios/Podfile` and run pod update:\n\n      \t```\n      \t  \tuse_native_modules!\n        pod 'RNShineButton', :path =\u003e '../node_modules/react-native-shine-button/ios'\n\n        use_frameworks!\n        pod 'WCLShineButton',:git =\u003e 'https://github.com/prscX/WCLShineButton.git', :branch =\u003e'master'\n      \t```\n\n- **Android**\n\nPlease add below snippet into your app `build.gradle`\n\n```\nallprojects {\n    repositories {\n        maven { url 'https://jitpack.io' }\n    }\n}\n```\n\n## **RN60 \u003c RNBAS V1 \u003c**\n\n\u003e RN60 below please use `react-native-bottom-action-sheet` V.0.\\*\n\n- `$ npm install react-native-shine-button --save`\n\n- `$ react-native link react-native-shine-button`\n\n- `$ react-native link react-native-vector-icons`\n\n#### Android\n\n- Please add below snippet to `defaultConfig` in your app `build.gradle`file. This is with respect to [ISSUE: 1](https://github.com/prscX/react-native-shine-button/issues/1):\n\n```\njackOptions {\n    enabled true\n}\n```\n\n- Please add below snippet above `dependencies` in your app `build.gradle`:\n\n```\nbuildscript {\n    repositories {\n        jcenter()\n        google()\n        maven { url \"https://jitpack.io\" }\n    }\n\n}\n\nallprojects {\n    repositories {\n        jcenter()\n        google()\n        maven { url \"https://jitpack.io\" }\n    }\n}\n```\n\n\u003e **Note:** This library is supported on Android SDK 27 \u003e above\n\n#### iOS\n\n- After `react-native link react-native-shine-button`, please verify `node_modules/react-native-shine-button/ios/` contains `Pods` folder. If does not exist please execute `pod install` command on `node_modules/react-native-shine-button/ios/`, if any error =\u003e try `pod repo update` then `pod install`\n- After verification, open your project and create a folder 'RNShineButton' under Libraries.\n- Drag `node_modules/react-native-shine-button/ios/pods/Pods.xcodeproject` into RNShineButton, as well as the RNShineButton.xcodeproject if it does not exist.\n- Add the `WCLShineButton.framework` into your project's `Embedded Binaries` and make sure the framework is also in linked libraries.\n- Go to your project's `Build Settings -\u003e Framework Search Path` and set `$(inherited) to recursive`.\n\n  \u003cimg src=\"assets/setup.gif\" /\u003e\n\n## 💻 Usage\n\n```javascript\nimport RNShineButton from 'react-native-shine-button'\n;\u003cRNShineButton\n  shape={'heart'}\n  color={'#808080'}\n  fillColor={'#ff0000'}\n  size={100}\n/\u003e\n```\n\n## Icons\n\n- **RN Vector Icons:** It supports [react-native-vector-icons](https://github.com/oblador/react-native-vector-icons) library. Please find below snippet for the usage:\n\n```javascript\nimport RNShineButton from 'react-native-shine-button'\nimport Icon from 'react-native-vector-icons/FontAwesome'\n\nlet music = \u003cIcon family={'FontAwesome'} name={'music'} color={'#808080'} /\u003e\n\n;\u003cRNShineButton\n  shape={music}\n  color={'#808080'}\n  fillColor={'#ff0000'}\n  size={100}\n/\u003e\n```\n\n\u003e **Note:**\n\u003e\n\u003e - We have added `family` prop for `Icon` class, please make sure that you pass the props\n\n- **Custom Icons**\n\n\u003e **Note:**\n\u003e Since we are using native libraries, we have not found a solution in order to render RN Images in production, therefore please copy all your image assets in platform specific folders:\n\n- Android: Please copy your image assets in app resource drawable folder\n- iOS: Please copy your image assets in app resources folder\n\n\u003e Please refer example application for the image usage.\n\n## 💡 Props\n\n| Prop        | Type                                  | Default | Note                                                                                                                         |\n| ----------- | ------------------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------- |\n| `shape`     | `string OR react-native-vector-icons` |         | The type of Shine Button you want. It's props are heart, like, star, smile. Even you are specify a react-native-vector-icons |\n| `color`     | `string: HEX-COLOR`                   |         | Color which you want then the Shine Button is not active                                                                     |\n| `fillColor` | `string: HEX-COLOR`                   |         | Fill Color then the Shine Button is clicked                                                                                  |\n| `size`      | `number`                              |         | Size of Shine Button                                                                                                         |  |\n| `disabled`  | `bool`                                |         | Disabling the Shine Button                                                                                                   |  |\n| `value`     | `bool`                                |         | Default value whether it is selected or not                                                                                  |\n| `onChange`  | `func`                                |         | It is invoke then the value of shine button is change                                                                        |\n\n## ✨ Credits\n\n- Android lib [ChadCSong/ShineButton](https://github.com/ChadCSong/ShineButton) Android implement.\n- iOS lib [imwcl/WCLShineButton](https://github.com/imwcl/WCLShineButton) iOS implement\n\n## 🤔 How to contribute\n\nHave an idea? Found a bug? Please raise to [ISSUES](https://github.com/prscX/react-native-bottom-action-sheet/issues).\nContributions are welcome and are greatly appreciated! Every little bit helps, and credit will always be given.\n\n## 💫 Where is this library used?\n\nIf you are using this library in one of your projects, add it in this list below. ✨\n\n## 📜 License\n\nThis library is provided under the Apache License.\n\nRNShineButton @ [prscX](https://github.com/prscX)\n\n## 💖 Support my projects\n\nI open-source almost everything I can, and I try to reply everyone needing help using these projects. Obviously, this takes time. You can integrate and use these projects in your applications for free! You can even change the source code and redistribute (even resell it).\n\nHowever, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it:\n\n- Starring and sharing the projects you like 🚀\n- If you're feeling especially charitable, please follow [prscX](https://github.com/prscX) on GitHub.\n\n  \u003ca href=\"https://www.buymeacoffee.com/prscX\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: auto !important;width: auto !important;\" \u003e\u003c/a\u003e\n\n  Thanks! ❤️\n  \u003cbr/\u003e\n  [prscX.github.io](https://prscx.github.io)\n  \u003cbr/\u003e\n  \u003c/ Pranav \u003e\n","funding_links":["https://www.buymeacoffee.com/prscX"],"categories":["Components","\u003ca name=\"Loaders-\u0026-Animation:-Native-Modules\"\u003eLoaders \u0026 Animation: Native Modules\u003c/a\u003e","Others"],"sub_categories":["UI"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FprscX%2Freact-native-shine-button","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FprscX%2Freact-native-shine-button","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FprscX%2Freact-native-shine-button/lists"}