Skip to content
R

react-svg-pan-zoom

A React component that adds pan and zoom features to SVG

by chrvadalaOpen source

#1233in UI Libraries
0In stores

Description

react-svg-pan-zoom is a React component that adds pan and zoom to SVG images, so large SVG images can be shown in a small space. The viewer…

Highlights

  • Pan and zoom for SVG images in React
  • Pan, zoom, none and auto tools
  • Touch events support
  • Props and methods for control
  • Installs from npm, yarn or UMD
  • Tree-shaking friendly build

Ratings & Reviews

No ratings yet

Be the first to rate react-svg-pan-zoom.

People also visit

R

react-svg-pan-zoom

A React component that adds pan and zoom features to SVG

UI Libraries
Launch
R

react-easy-panzoom

Wrapper to enable pan and zoom for any React component

UI Libraries
Launch
R

react-prismazoom

A pan and zoom component for React, using CSS transformations

UI Libraries
Launch
R

react-inner-image-zoom

A React component for magnifying an image within its parent container

UI Libraries
Launch
R

@ridemountainpig/svgl-react

Implementation of the Svgl for React applications

UI Libraries
Launch
R

react-sketch-canvas

Freehand vector drawing tool for React using SVG as canvas

UI Libraries
Launch

react-svg-pan-zoom FAQ

What does it do?

It adds pan and zoom to SVG images in a React component, so large SVGs fit in a small viewer.

How do I install it?

Install from npm or yarn, or use the UMD bundle in a plain web page.

Which tool should I use?

Pan or zoom only, none to interact with child elements, or auto to combine panning, zooming and element interaction.

Does it support touch?

Yes. Touch events support was added in version 2.3.

Where is a demo?

The project has a live demo, and basic and uncontrolled examples are linked on CodeSandbox and JSFiddle.

What are the best react-svg-pan-zoom alternatives?

Popular alternatives to react-svg-pan-zoom include react-svg-pan-zoom, react-easy-panzoom and react-prismazoom. See all react-svg-pan-zoom alternatives

Developer Stuff

Badges