All Projects → image-component → react-image-shadow

image-component / react-image-shadow

Licence: MIT license
🌈 A React image component. Simple realization of image shadow.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
Less
1899 projects

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

Shapeview
A customized shape view with shadow and transparent background supported.
Stars: ✭ 90 (+328.57%)
Mutual labels:  shadow
Xamarin.forms.backgroundkit
🔨 A powerful Kit for customizing the background of Xamarin.Forms views
Stars: ✭ 167 (+695.24%)
Mutual labels:  shadow
MacOSX-VFS-redirector
Mac OS X file system filter to redirect file operations
Stars: ✭ 38 (+80.95%)
Mutual labels:  shadow
Xselectorutil
一个可以用代码处理控件的阴影效果,及用代码在TextView、EditText、Button等控件设置selector背景(触摸反馈,样式变化、文字颜色变化、hint文字颜色变化等效果)的组件
Stars: ✭ 98 (+366.67%)
Mutual labels:  shadow
Flutter shine.dart
Flutter Shine is a library for pretty and realistic shadows, dynamic light positions, extremely customizable shadows, no library dependencies, text or box shadows based on content.
Stars: ✭ 135 (+542.86%)
Mutual labels:  shadow
React Scroll Shadow
Pure CSS shadow to indicate more content in scrollable area
Stars: ✭ 229 (+990.48%)
Mutual labels:  shadow
Css Vars Ponyfill
Client-side support for CSS custom properties (aka "CSS variables") in legacy and modern browsers
Stars: ✭ 1,166 (+5452.38%)
Mutual labels:  shadow
react-shadow-scroll
Component that customizes the list and inserts shadow when scrolling exists
Stars: ✭ 28 (+33.33%)
Mutual labels:  shadow
Image Shadow
Simple and small Javascript script to display the shadow of an image!
Stars: ✭ 142 (+576.19%)
Mutual labels:  shadow
get-css-data
A micro-library for collecting stylesheet data from link and style nodes
Stars: ✭ 29 (+38.1%)
Mutual labels:  shadow
Shadow Rs
A build-time information stored in your rust project.(binary,lib,cdylib,dylib)
Stars: ✭ 117 (+457.14%)
Mutual labels:  shadow
Shadows
Shädows - A Shadows & Lights engine for löve
Stars: ✭ 134 (+538.1%)
Mutual labels:  shadow
Shadowimageview
🔥可以根据图片内容变阴影颜色,更加细腻的阴影效果 It can change color according to the picture, more delicate shadow effect
Stars: ✭ 2,560 (+12090.48%)
Mutual labels:  shadow
Sketch Make Long Shadow
A plugin for Sketch to create long shadows of a user defined length from a shape.
Stars: ✭ 92 (+338.1%)
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 (+285.71%)
Mutual labels:  shadow
Ishadow
Creating a beautiful iOS style shadow [Sketch Plugin]
Stars: ✭ 89 (+323.81%)
Mutual labels:  shadow
Zydra
Stars: ✭ 178 (+747.62%)
Mutual labels:  shadow
Popover-label
Popover label for iOS
Stars: ✭ 44 (+109.52%)
Mutual labels:  shadow
android-multibackground
This library can easily apply round corner、stroke、shadow and different state effects to background drawable.
Stars: ✭ 18 (-14.29%)
Mutual labels:  shadow
Vqengine
DirectX 11 Renderer written in C++11
Stars: ✭ 250 (+1090.48%)
Mutual labels:  shadow

🌈 react-image-shadow

A React image component. Simple realization of image shadow.

npm dumi codecov

📚 Example

Online: https://image-component.github.io/react-image-shadow/

🌀 Template

https://github.com/one-template/react-component-template

📦 Install

npm i react-image-shadow
# or
yarn add react-image-shadow

🎉 Usage

import ImageShadow from 'react-image-shadow';
import 'react-image-shadow/assets/index.css';

const src =
  'https://github.com/image-component/gallery/blob/main/girl/1.jpg?raw=true';

export default () => (
  <>
    <ImageShadow src={src} />
  </>
);

📔 API

Property Description Type Required Default Version
alt The alt of the image. string - 1.1.0
className Component extra class. string - 1.0.0
shadowBlur The shadow blur of the image. number 20 1.0.0
shadowHover Whether to support the mouse hover. boolean false 1.0.0
shadowRadius The border radius of the image. number 8 1.0.0
src The src of the image. string - 1.0.0
style Component extra style. CSSProperties - 1.0.0
width The width of the image. number 300 1.0.0

🔨 Development

yarn
yarn start

License

MIT

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].