#Parallax Hover React Component Inspired by @drewwilson’s atvImg, ported to React. Allows for non image based layers. Currently only supports mouse events.
Pull requests and suggestions more than welcome :]
npm install --save react-parallax-hover
http://codepen.io/TylerK/full/Gpdqqq
git clone https://github.com/tylerk/react-parallax-hover/
cd react-parallax-hover
npm install
npm start
import ParallaxHover from 'react-parallax-hover';
<ParallaxHover width='500' height='500'>
<img ref='image' src='...' />
<div ref='text'>Some text</div>
</ParallaxHover>
- More robust configuration
- Touch event handling
- Github pages site with examples and demo's
- Animated gif hotness for this readme