{"id":4326,"url":"https://github.com/lvlrSajjad/react-native-blur-overlay","last_synced_at":"2025-08-04T01:31:59.717Z","repository":{"id":54533628,"uuid":"146912958","full_name":"lvlrSajjad/react-native-blur-overlay","owner":"lvlrSajjad","description":"React Native Blur Overlay Library For Ios And Android","archived":false,"fork":false,"pushed_at":"2024-11-04T20:13:34.000Z","size":7996,"stargazers_count":98,"open_issues_count":11,"forks_count":34,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-14T01:18:32.614Z","etag":null,"topics":["android","blur","blur-backgrounds","blur-overlay","blurview","native","react","react-native","react-native-blur","react-native-blur-overlay","react-native-component","react-native-components"],"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/lvlrSajjad.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-08-31T15:52:03.000Z","updated_at":"2025-04-01T02:21:19.000Z","dependencies_parsed_at":"2022-08-13T19:00:25.465Z","dependency_job_id":null,"html_url":"https://github.com/lvlrSajjad/react-native-blur-overlay","commit_stats":null,"previous_names":["lvlrsajjad/sajjad-blur-overlay"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lvlrSajjad/react-native-blur-overlay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvlrSajjad%2Freact-native-blur-overlay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvlrSajjad%2Freact-native-blur-overlay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvlrSajjad%2Freact-native-blur-overlay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvlrSajjad%2Freact-native-blur-overlay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lvlrSajjad","download_url":"https://codeload.github.com/lvlrSajjad/react-native-blur-overlay/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvlrSajjad%2Freact-native-blur-overlay/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268636316,"owners_count":24282075,"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","blur","blur-backgrounds","blur-overlay","blurview","native","react","react-native","react-native-blur","react-native-blur-overlay","react-native-component","react-native-components"],"created_at":"2024-01-05T20:17:08.335Z","updated_at":"2025-08-04T01:31:59.243Z","avatar_url":"https://github.com/lvlrSajjad.png","language":"Java","funding_links":[],"categories":["Components"],"sub_categories":["UI"],"readme":"\n# react-native-blur-overlay [![npm version](https://img.shields.io/npm/v/react-native-blur-overlay.svg)](https://www.npmjs.com/package/react-native-blur-overlay) [![Maintainability](https://api.codeclimate.com/v1/badges/a99a88d28ad37a79dbf6/maintainability)](https://codeclimate.com/github/lvlrSajjad/react-native-blur-overlay/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/a99a88d28ad37a79dbf6/test_coverage)](https://codeclimate.com/github/lvlrSajjad/react-native-blur-overlay/test_coverage)\n\n\n\u003cimg src=\"https://raw.githubusercontent.com/lvlrSajjad/react-native-blur-overlay/master/giphy.gif\" width=\"250\"\u003e   \u003cimg src=\"https://raw.githubusercontent.com/lvlrSajjad/react-native-blur-overlay/master/Untitled.jpg\" width=\"250\"\u003e  \u003cimg src=\"https://raw.githubusercontent.com/lvlrSajjad/react-native-blur-overlay/master/Untitled2.jpg\" width=\"250\"\u003e\n\n\nThe new version is compatible with the latest react native version (0.75.3)\n\n\n## Getting started\n\n`$ npm install react-native-blur-overlay --save`\nOR\n\n`$ yarn add react-native-blur-overlay`\n\nDo not forget to add this to your Podfile\n\n`pod 'SajjadBlurOverlay', :path =\u003e '../node_modules/react-native-blur-overlay/ios'`\n\nAnd this to your android main application\n`add(SajjadBlurOverlayPackage())`\n\n## Usage\n```javascript\nimport React, {Component} from 'react';\nimport {Platform, StyleSheet, Text, View, TouchableOpacity} from 'react-native';\nimport BlurOverlay,{closeOverlay,openOverlay} from 'react-native-blur-overlay';\n\nconst instructions = Platform.select({\n    ios: 'Press Cmd+R to reload,\\n' + 'Cmd+D or shake for dev menu',\n    android:\n    'Double tap R on your keyboard to reload,\\n' +\n    'Shake or press menu button for dev menu',\n});\n\ntype Props = {};\nexport default class App extends Component\u003cProps\u003e {\n    constructor(props) {\n        super(props);\n    }\n\n    renderBlurChilds() {\n        return (\n          \u003cView style={styles.image}\u003e\n              \u003cText style={styles.instructions2}\u003e{instructions}\u003c/Text\u003e\n\n              \u003cText style={styles.instructions2}\u003e{instructions}\u003c/Text\u003e\n          \u003c/View\u003e\n        );\n    }\n\n    render() {\n        return (\n\n            \u003cView style={styles.container}\u003e\n                \u003cTouchableOpacity\n                    onPress={() =\u003e {\n                        openOverlay();\n                    }}\n                    style={{width: '90%', height: 36, backgroundColor: \"#03A9F4\", borderRadius: 4, margin: 16}}/\u003e\n\n                \u003cText style={styles.welcome}\u003eWelcome to React Native!\u003c/Text\u003e\n                \u003cText style={styles.instructions}\u003eTo get started, edit App.js\u003c/Text\u003e\n                \u003cText style={styles.instructions}\u003e{instructions}\u003c/Text\u003e\n                \n\n                \u003cBlurOverlay\n                    radius={14}\n                    downsampling={2}\n                    brightness={-200}\n\t\t\t\t\tidBlur={'ID_BLUR'}\n                    onPress={() =\u003e {\n                        closeOverlay('ID_BLUR');\n                    }}\n                    customStyles={{alignItems: 'center', justifyContent: 'center'}}\n                    blurStyle=\"dark\"\n                    children={this.renderBlurChilds()}\n                /\u003e\n                \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    instructions2: {\n        textAlign: 'center',\n        color: 'white',\n        marginBottom: 5,\n    },\n});\n\n```\n  \n  \n  \n## Props\n```\nandroid only:\n  radius : Int (Between  0 to 25*downsampling)\n  downsampling : float (\u003e= 1)\n  brightness : float (Between -255 to 255 , 0 = nochange)\n  \nios only : \n  blurStyle: string (\"light\" , \"extraLight\" , \"dark\")\n\t\nboth platforms :\n  onPress : func\n  customStyles: style\t  \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FlvlrSajjad%2Freact-native-blur-overlay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FlvlrSajjad%2Freact-native-blur-overlay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FlvlrSajjad%2Freact-native-blur-overlay/lists"}