All Projects → virtualvivek → react-native-image-blur-shadow

virtualvivek / react-native-image-blur-shadow

Licence: MIT license
A React Native Image component with Blur Drop Shadows,100% JavaScript, 0 dependency component. Supports Android, iOS and Web. A light weight <Image/> component for your react native project.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to react-native-image-blur-shadow

react-native-touchable
React-Native button helper library
Stars: ✭ 46 (-42.5%)
Mutual labels:  react-native-component
react-native-component-splitter
VS Code Extension allows splitting React Native Component into Sub-Component
Stars: ✭ 33 (-58.75%)
Mutual labels:  react-native-component
v-image
📷 Tiny little component for input type=file (css free! style it as you want!)
Stars: ✭ 38 (-52.5%)
Mutual labels:  image-component
android-multibackground
This library can easily apply round corner、stroke、shadow and different state effects to background drawable.
Stars: ✭ 18 (-77.5%)
Mutual labels:  shadow
Simple-Image-Blur
Simple image blurring for android
Stars: ✭ 85 (+6.25%)
Mutual labels:  blurview
react-native-vector-image
iOS/Android native vector assets generated from SVG
Stars: ✭ 224 (+180%)
Mutual labels:  react-native-component
get-css-data
A micro-library for collecting stylesheet data from link and style nodes
Stars: ✭ 29 (-63.75%)
Mutual labels:  shadow
react-native-multi-selectbox
Platform independent (Android / iOS) Selectbox | Picker | Multi-select | Multi-picker. The idea is to bring out the common user interface & user experience on both platforms.
Stars: ✭ 169 (+111.25%)
Mutual labels:  react-native-component
react-image-shadow
🌈 A React image component. Simple realization of image shadow.
Stars: ✭ 21 (-73.75%)
Mutual labels:  shadow
shadow
Shadow dom support for Vue
Stars: ✭ 46 (-42.5%)
Mutual labels:  shadow
react-shadow-scroll
Component that customizes the list and inserts shadow when scrolling exists
Stars: ✭ 28 (-65%)
Mutual labels:  shadow
Blurberry
Transparent blur using UIVisualEffectView without subclassing
Stars: ✭ 46 (-42.5%)
Mutual labels:  blurview
vue-image-shadow
🌈 A Vue image component. Simple realization of image shadow.
Stars: ✭ 21 (-73.75%)
Mutual labels:  shadow
DC-ShadowNet-Hard-and-Soft-Shadow-Removal
[ICCV2021]DC-ShadowNet: Single-Image Hard and Soft Shadow Removal Using Unsupervised Domain-Classifier Guided Network, https://arxiv.org/abs/2207.10434
Stars: ✭ 81 (+1.25%)
Mutual labels:  shadow
react-native-shadow-2
Cross-platform shadow for React Native. Supports Android, iOS, Web and Expo.
Stars: ✭ 442 (+452.5%)
Mutual labels:  shadow
MacOSX-VFS-redirector
Mac OS X file system filter to redirect file operations
Stars: ✭ 38 (-52.5%)
Mutual labels:  shadow
react-native-android-notification-listener
React Native Android Notification Listener - Listen for status bar notifications from all applications
Stars: ✭ 87 (+8.75%)
Mutual labels:  react-native-component
expo-ui-kit
expo-ui-kit - a components based React-Native UI Kit
Stars: ✭ 88 (+10%)
Mutual labels:  react-native-component
Xamarin.BlurView
Dynamic iOS-like blur of underlying Views for Android.
Stars: ✭ 26 (-67.5%)
Mutual labels:  blurview
ShadowDrawable
为View 和 ViewGroup 添加阴影效果--Android,Add shadow for single view or viewgroup layout.
Stars: ✭ 22 (-72.5%)
Mutual labels:  shadow

react-native-image-blur-shadow

A React Native Image component with Blur Drop Shadows, 100% JavaScript, 0 Dependency component. Supports Android, iOS and Web.

License: MIT Platform Javascript
Version GitHub code size in bytes NPMJS

Demo

https://snack.expo.io/@virtualvivek/image-blur-shadow

Installation

$ npm install react-native-image-blur-shadow

Import

import ImageBlurShadow from 'react-native-image-blur-shadow';

Usage

import ImageBlurShadow from 'react-native-image-blur-shadow'

<ImageBlurShadow
   style={styles.img}
   source={require('./src/assets/spiderman.jpg')}
   imageWidth={220}
   imageHeight={220}
   imageBorderRadius={22}
   shadowOffset={38}
   shadowBlurRadius={48}
   shadowBackgroundColor={'#ffffff'}
  />

Props

Property Type Default Description
style object {} set the style of component container
source string null set the image source
imageWidth number default set image width
imageHeight number default set image height
imageBorderRadius number 0 set image border radius
imageFadeDuration number 300 set image fade animation duration in ms
shadowOffset number 38 set/override shadow offset
shadowBlurRadius number 34 set/override shadow blurRadius
shadowBackgroundColor HexColor #ffffff set/override shadow background color
shadowFadeDuration number 300 set shadow fade animation duration in ms

Advance Props

Property Type Default Description
defaultSource object {} set the default image source iOS
onLoad object {} on Image Load Callback
onError object {} on Image Error Callback
onLoadStart object {} on Image Load Start Callback
onLoadEnd object {} on Image Load End Callback
onProgress object {} on Image Load Progress Callback
onPartialLoad object {} on Image Partial Load Callback
imageBorderTopLeftRadius number 0 set image top left border radius
imageBorderTopRightRadius number 0 set image top right border radius
imageBorderBottomLeftRadius number 0 set image bottom left border radius
imageBorderBottomRightRadius number 0 set image bottom right border radius

Find this library useful? ❤️

Support it by joining stargazers for this repository.

License

react-native-image-blur-shadow is licensed under MIT license. View license.
Copyright (c) 2021 Vivek Verma

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].