{"id":13776549,"url":"https://github.com/prscX/react-native-material-shadows","last_synced_at":"2025-05-11T10:31:07.904Z","repository":{"id":48959146,"uuid":"120179966","full_name":"prscX/react-native-material-shadows","owner":"prscX","description":"React Native: Native Material Shadows","archived":true,"fork":false,"pushed_at":"2021-07-03T09:37:42.000Z","size":230,"stargazers_count":86,"open_issues_count":2,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-29T10:03:10.473Z","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":"mit","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-02-04T11:44:53.000Z","updated_at":"2023-06-10T07:07:35.000Z","dependencies_parsed_at":"2022-09-02T03:21:27.991Z","dependency_job_id":null,"html_url":"https://github.com/prscX/react-native-material-shadows","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/prscX%2Freact-native-material-shadows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prscX%2Freact-native-material-shadows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prscX%2Freact-native-material-shadows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prscX%2Freact-native-material-shadows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prscX","download_url":"https://codeload.github.com/prscX/react-native-material-shadows/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253389922,"owners_count":21900826,"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":["android","ios","react-native"],"created_at":"2024-08-03T18:00:28.726Z","updated_at":"2025-05-11T10:31:07.016Z","avatar_url":"https://github.com/prscX.png","language":"Java","funding_links":["https://www.buymeacoffee.com/prscX"],"categories":["\u003ca name=\"UI:-Native-Modules\"\u003eUI: Native Modules\u003c/a\u003e"],"sub_categories":[],"readme":"\n\u003ch1 align=\"center\"\u003e\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/harjot-oberai/MaterialShadows/master/screens/cover.png\" width=\"600\" height=\"300\" /\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/react-native-material-shadows\"\u003e\u003cimg src=\"http://img.shields.io/npm/v/react-native-material-shadows.svg?style=flat\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/prscX/react-native-material-shadows/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-material-shadows#License\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/react-native-material-shadows.svg?style=flat\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\n    ReactNative: Native Material Shadows (Android): Deprecated\n\nDue to time constraint, this library is deprecated and not maintained anymore, You can still use this library.\n\nIf this project has helped you out, please support us with a star 🌟\n\u003c/h1\u003e\n\nThis library is a thin React Native Bridge around [harjot-oberai/MaterialShadows](https://github.com/harjot-oberai/MaterialShadows) library. It seamlessly integrats with Material shadows. The library takes existing material shadows to next level by adding the following features :\n\n\n- **Convex shadows**: The shadows are not only rectangular or circular, they can take any convex shape depending on the view and its content.\n- **Support for shadow offsets**: The library allows developers to set \u003cb\u003eX\u003c/b\u003e and \u003cb\u003eY\u003c/b\u003e offset for the shadows.\n- **Support for shadow intensity**: The library also has support for setting shadow intensity via `shadowAlpha` attribute.\n- **Shadows for semi-transparent views** : The library allows shadows for semi-transparent views.\n- **Support for Async Shadow calculations** : The library allows the operations to be async to avoid blocking the UI thread for long calculations.\n- **Shadow animations** : The library supports fade out animation for shadow.\n\n\u003e **Note**: It is available only on Andorid, since React Native supports Shadow for images on iOS platform\n\n## 📖 Getting started\n\n`$ npm install react-native-material-shadows --save`\n\n`$ react-native link react-native-material-shadows`\n\n\n## 💻 Usage\n```javascript\nimport RNMaterialShadows from 'react-native-material-shadows';\n\n\u003cRNMaterialShadows style={styles.imageContainer} padding={30} \u003e\n\t\u003cImage source={require(\"./assets/google.png\")} elevation={5} style={styles.image} /\u003e\n\u003c/RNMaterialShadows\u003e\n```\n  \n\n## ✨ Credits\n\n- Android: [harjot-oberai/MaterialShadows](https://github.com/harjot-oberai/MaterialShadows)\n\n## 🤔 How to contribute\nHave an idea? Found a bug? Please raise to [ISSUES](https://github.com/prscX/react-native-material-shadows/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?\nIf you are using this library in one of your projects, add it in this list below. ✨\n\n\n## 📜 License\nThis library is provided under the Apache License.\n\nRNMaterialShadows @ [prscX](https://github.com/prscX)\n\n## 💖 Support my projects\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* 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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FprscX%2Freact-native-material-shadows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FprscX%2Freact-native-material-shadows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FprscX%2Freact-native-material-shadows/lists"}