Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-parallax-scroll

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-parallax-scroll - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

package.json
{
"name": "react-parallax-scroll",
"version": "0.0.4",
"version": "0.0.5",
"description": "React library for creating parallax scrolling",

@@ -5,0 +5,0 @@ "license": "MIT",

### React Parallax Scroll
A lightweight React library for creating parallax scroll.
## Demo
[Banner Parallax Demo](https://codesandbox.io/embed/naughty-cohen-fdgkj?fontsize=14&view=preview)
## Install

@@ -32,3 +35,3 @@ ```sh

{/* ----- Zoom parallax -----*/}
<Layer settings={{ speed: 0.2, type: 'scale' }}></Layer>
<Layer settings={{ speed: 0.2, type: 'rotate' }}></Layer>

@@ -38,5 +41,4 @@ {/* ----- Put Layer to wherever you like -----*/}

<div>
<Layer settings={{ speed: 0.2, type: ['scale', 'rotate'] }}></Layer>
<Layer settings={{ speed: 0.2, type: ['rotate'] }}></Layer>
</div>
<Layer settings={{ speed: 0.2, type: ['scale', 'rotate'] }}></Layer>
</div>

@@ -43,0 +45,0 @@ </Parallax>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc