New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@basith374/parallax-background

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@basith374/parallax-background

An interactive parallax image component

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-75%
Maintainers
1
Weekly downloads
 
Created
Source

parallax-background

An interactive parallax image component

preview

Here's a working demo

NPM JavaScript Style Guide build

Install

npm install --save @basith374/parallax-background

Usage

import React, { Component } from 'react'

import Parallax from '@basith374/parallax-background'
import '@basith374/parallax-background/dist/index.css'

import bg0 from './assets/bg1.png';
import bg1 from './assets/bg2.png';
import bg2 from './assets/bg3.png';

class Example extends Component {
  render() {
    return <Parallax images={[bg0, bg1, bg2]} />
  }
}

NOTE: Make sure the parent container has some height since the root container uses height:100%

License

MIT © basith374

Keywords

FAQs

Package last updated on 24 Jun 2021

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