Skip to content

jakepeyser/react-zipper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-zipper

React component that renders a dynamic Zipper SVG. The zipper can be dragged, revealing a short hidden meddage underneath

Credit: Original Zipper SVG animation by Chris Gannon

Zipping Animation

Running Locally

Install dependencies

You will need either yarn or npm to build the React component. Respectively run npm install or yarn to install the necessary dependencies.

Build the app

npm run build

Run the demo

Place the browser/build/index.html file in a browser and tada! You have a functioning React zipper component.

To adjust the number of zipper teeth, style (i.e. colors), and more, update the input Zipper props inside the browser/src/index.js file and re-build the module.

About

React zipper component with animation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published