An open API service indexing awesome lists of open source software.

https://github.com/only-icesoul/react-native-blurview

Real time blur Android Web IOS
https://github.com/only-icesoul/react-native-blurview

android backdrop blur blurview drop fast fastblur ios react-native-web reactjs real realtime visual visualeffect web

Last synced: 2 months ago
JSON representation

Real time blur Android Web IOS

Awesome Lists containing this project

README

        

# react-native-blurview

android: api 21+
ios : 10.0+
web: [backdrop](https://caniuse.com/?search=backdrop)

Example -> [Demo](https://github.com/Only-IceSoul/canal/tree/master/react-native/Car%20Insurance%20Claim)

## Getting started

`$ npm install react-native-realtimeblurview --save`
`$ react-native link react-native-realtimeblurview`

or

`$ yarn add react-native-realtimeblurview`

## Usage

```javascript
import {BlurView , BlurRootView } from 'react-native-realtimeblurview';

// TODO: What to do with the module?
//(Android) require a blurRootView ,improve perfmonace
//(Android) Blurview must be a child of rootview






```

### Overlay Colors


| Name | rgb | a |
| --- | ---| --- |
| dark | 0.11 | 0.73 |
| light | 1 | 0.3 |
| extraLight | 0.91 | 0.8 |


### BlurView Props:


BlurView:
If your RootView has a lot of transparent set a backgroundColor (ios ignored)

| Name | description | type | default |
| --- | --- | --- | --- |
| blurNode | the root view | String | undefined |
| radius | the blur radius (android max 25) | Number | 10 |