react-instagram-zoom-slider

react-instagram-zoom-slider is a slider component with pinch to zoom capabilities inspired by Instagram.

react-instagram-zoom-slider

Install

yarn add react-instagram-zoom-slider react-spring react-use-gesture styled-components
Bash

Usage

import React, { Component } from 'react'
import ZoomSlider from 'react-instagram-zoom-slider'

function App() {
  const slides = [<img src="..." alt="First slide" />, <img src="..." alt="Second slide" />]

  return <ZoomSlider slides={slides} />
}
React JSX

GitHub

🌄↔️ A slider component with pinch to zoom capabilities inspired by InstagramRead More

Latest commit to the master branch on 1-5-2023
Download as zip