A React Native component to create Material Design inspired shadows for Android.
Features:
- Convex shadows: The shadows are not only rectangular or circular, they can take any convex shape depending on the view and its content.
- Support for shadow offsets: The library allows developers to set X and Y offset for the shadows.
- Support for shadow intensity: The library also has support for setting shadow intensity via
shadowAlpha
attribute. - Shadows for semi-transparent views : The library allows shadows for semi-transparent views.
- Support for Async Shadow calculations : The library allows the operations to be async to avoid blocking the UI thread for long calculations.
- Shadow animations : The library supports fade out animation for shadow.
Installation:
# NPM $ npm react-native-material-shadows --save
Preview:
Download Details:
Author: prscX
Live Demo: View The Demo
Download Link: Download The Source Code
Official Website: https://github.com/prscX/react-native-material-shadows
License: MIT