bmcmahen / react-thumbnail-zoom

Easy, breezy, beautiful thumbnail transitions for React
http://jagged-dinner.surge.sh/
4 stars 4 forks source link
image-viewer images react thumbnails

I've released a new library that does much the same thing: react-image-enlarger.

react-thumbnail-zoom

Travis npm package Coveralls

React thumbnail zoom makes transitioning from thumbnails to fullscreen images beautiful. It's the same effect you see on Medium.com. Check out the super simple demo.

Install

yarn install react-thumbnail-zoom
import Zoom from 'react-thumbnail-zoom';

const SuperAwesomeImage = () => (
  <Zoom>
    <img src='/super-awesome-image.jpg' />
  </Zoom>
)