
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
react-parallax-component
Advanced tools
Easiest way to add scroll parallax effect on the component
Easiest way to add scroll parallax effect on the component.
npm install react-parallax-component
import ParallaxComponent from 'react-parallax-component';
<ParallaxComponent
speed="0.003"
width="300"
top="40%"
left="100"
>
<div>
Children component
</div>
</ParallaxComponent>
speed
(String) - animation speed, default: -0.03
width
(String) - component width, default: auto
height
(String) - component height, default: auto
top
(String) - component top position, default: inherit
left
(String) - component left position, default: inherit
right
(String) - component top position, default: inherit
$ npm install
$ npm start
And open in browser: http://localhost:4000
$ npm run build
FAQs
Easiest way to add scroll parallax effect on the component
The npm package react-parallax-component receives a total of 829 weekly downloads. As such, react-parallax-component popularity was classified as not popular.
We found that react-parallax-component demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.