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

parallax-galaxy

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parallax-galaxy

A React component for creating a parallax effect

  • 1.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

React Parallax Galaxy

The Parallax Galaxy Plugin is a lightweight and customizable JavaScript plugin designed to add parallax effects to elements on a webpage. The plugin allows elements to move at different speeds and directions based on the user’s scroll position, creating an engaging and dynamic user experience.

Demo url : https://simplifyscript.com/javascript-parallax-scrolling-effect/

Installation

To install the package, run: npm install parallax-galaxy

Usage

import React from 'react';
import ParallaxGalaxy from 'parallax-galaxy';
import './App.css'; // Make sure to include any necessary CSS for styling

const App = () => (
  <ParallaxGalaxy>
    <div data-ease="0.5" data-opacity="1" data-diagonally="0.1" data-scale="0.1" data-rotate="0.1">
      Parallax Content
    </div>
    <div data-ease="1" data-opacity="0.5" data-diagonally="0.2" data-scale="0.2" data-rotate="0.2">
      Another Parallax Content
    </div>
  </ParallaxGalaxy>
);

export default App;

Keywords

FAQs

Package last updated on 24 Aug 2024

Did you know?

Socket

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.

Install

Related posts

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