All Projects → khanglu → react-crossfade-image

khanglu / react-crossfade-image

Licence: MIT license
react-crossfade-image - Simple React component for crossfading images - No CSS needed

Programming Languages

javascript
184084 projects - #8 most used programming language

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

docker-bakery
Dockerfile hierarchy management tool with automatic rebuilding of dependent images when parent changes
Stars: ✭ 30 (-9.09%)
Mutual labels:  images
esn
这是一个常用js小型工具库
Stars: ✭ 15 (-54.55%)
Mutual labels:  react-component
react-drag-list
A simple draggable list component。
Stars: ✭ 30 (-9.09%)
Mutual labels:  react-component
react-mathjax-preview
The MathJax React component you were looking for.
Stars: ✭ 46 (+39.39%)
Mutual labels:  react-component
react-infinite-scroller
⏬ Infinite scroll component for React in ES6
Stars: ✭ 3,064 (+9184.85%)
Mutual labels:  react-component
EmotionDetection
An emotion extraction system for images, that extracts emotion which will be felt by the user of viewing the image, representing them in a 2-Dimensional space that represents Arousal and Valence.
Stars: ✭ 26 (-21.21%)
Mutual labels:  images
gatsby-remark-images-anywhere
Handle images with relative, absolute & remote path for gatsby-transformer-remark & gatsby-plugin-mdx
Stars: ✭ 22 (-33.33%)
Mutual labels:  images
code2img
Open REST API to create beautiful images of code snippets with 20+ color themes and syntax highlighting support for 10+ languages.
Stars: ✭ 25 (-24.24%)
Mutual labels:  images
fhir-questionnaire-render-react
Render FHIR Questionnaire as a web form using FHIRFormJS
Stars: ✭ 18 (-45.45%)
Mutual labels:  react-component
server-media
This repository collects icons, logos & information about game servers.
Stars: ✭ 29 (-12.12%)
Mutual labels:  images
tiny-ui
⚛️ A friendly UI component set for React.js
Stars: ✭ 202 (+512.12%)
Mutual labels:  react-component
react-simple-image-slider
simple image slider component for react
Stars: ✭ 127 (+284.85%)
Mutual labels:  react-component
react-parallax-card
[wip] React component for a 3D card with parallax effects similar to Apple TV app icons.
Stars: ✭ 21 (-36.36%)
Mutual labels:  react-component
wp-github-gos
利用 github api 实现的一个存储图片/附件的 wordpress 插件
Stars: ✭ 42 (+27.27%)
Mutual labels:  images
react-timepicker
React timepicker in Android KitKat style
Stars: ✭ 23 (-30.3%)
Mutual labels:  react-component
react-multiselect-two-sides
React multiselect two sides component
Stars: ✭ 15 (-54.55%)
Mutual labels:  react-component
image-storage
🌠 Image storage for Nette framework
Stars: ✭ 27 (-18.18%)
Mutual labels:  images
react-credit-cards
Beautiful credit cards for your payment forms
Stars: ✭ 2,386 (+7130.3%)
Mutual labels:  react-component
gopher-logos
adorable gopher logos
Stars: ✭ 106 (+221.21%)
Mutual labels:  images
react-table-filter
Create Filters on table column items(like Excel)
Stars: ✭ 54 (+63.64%)
Mutual labels:  react-component

react-crossfade-image

Simple component for crossfading images. Just pass it a new src prop and enjoy the fade!

alt react-crossfade-image-example

Usage

npm install react-crossfade-image

Clone and run npm start for demo.

Sample component:

<CrossfadeImage src={imageSrc} />

Props

src

Image source as string - required

duration

Duration of the fade, in ms - default to 300

timingFunction

Support all CSS timing functions - default to 'ease'

delay

Duration of the delay before fading, in ms - default to 0

style

Custom styling for the image - default to { maxWidth: '100%', maxHeight: '100%' } for responsive image scaling

containerClass

Custom class string for the container element - default to 'CrossfadeImage'

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