Medium.com style image zoom for nextjs
npm install next-image-zoomMedium.com image zoom style for Next.js optimized image component
Please check Demo here.
Install package with npm
NPM
``bash`
npm install --save next-image-zoom
Yarn
`bash`
yarn add next-image-zoom
First import Zoom component
`javascript`
import Zoom from "next-image-zoom";
layout={'responsive'}
`javascript
import Zoom from "next-image-zoom";
layout={'fill'}`javascript
import Zoom from "next-image-zoom";
`layout={'fixed'}
`javascript
import Zoom from "next-image-zoom";
``javascript
import Zoom from "next-image-zoom";
``For support, email mrkhdev@gmail.com.