ReactNative: Native Gradient Blur View (iOS)
If this project has helped you out, please support us with a star
This library is a thin React Native bridge around iOS: shashankpali/EZYGradientView
- iOS: It is a different and unique take on creating gradients and gradients with blur on the iOS platform. The default CAGradientLayer implementation works just fine, but is confusing and gives different results than expected.
📖 Getting started
npm install react-native-gradient-blur-view --save
react-native link react-native-gradient-blur-view
💻 Usage
import RNGradientBlurView from 'react-native-gradient-blur-view';
<RNGradientBlurView style={styles.gradientView} />
💡 Props
Prop | Type | Default | Note |
---|---|---|---|
firstColor | string | Primary Color | |
secondColor: iOS | string | Secondary Color | |
angle: iOS | number | Angle of Color Division | |
colorRatio: iOS | number | Color Ratio | |
fadeIntensity | number | Fade Intensity Value | |
blurOpacity | number | Blur Opacity Value |
TO-DO
- Android Support
✨ Credits
🤔 How to contribute
Have an idea? Found a bug? Please raise to ISSUES. Contributions are welcome and are greatly appreciated! Every little bit helps, and credit will always be given.
💫 Where is this library used?
If you are using this library in one of your projects, add it in this list below.
📜 License
This library is provided under the Apache License.
RNGradientBlurView @ prscX
💖 Support my projects
I 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).
However, 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:
-
Starring and sharing the projects you like
🚀 -
If you're feeling especially charitable, please follow prscX on GitHub.
Thanks!
❤️
prscX.github.io
</ Pranav >