Socket
Socket
Sign inDemoInstall

@trbl/react-parallax

Package Overview
Dependencies
10
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @trbl/react-parallax

A smoooth as butter parallax for React projects.


Version published
Weekly downloads
1
Maintainers
2
Install size
3.46 MB
Created
Weekly downloads
 

Readme

Source

NPM Bundle Size Supported by TRBL

React Parallax

A smoooth as butter parallax for React projects.

Quick Start

Installation

$ yarn add @trbl/react-parallax

Compositon

  import React from 'react';
  import { ParallaxProvider, Parallax } from '@trbl/react-parallax';

  const App = () => {
    return (
      <ParallaxProvider>
        <Parallax speed={0.3}>
          ...
        </Parallax>
        <Parallax speed={0.9}>
          ...
        </Parallax>
      </ParallaxProvider>
    )
  }

  export default App;

Demo

To demo locally, clone the repo and

$ yarn install
$ npm run dev
$ open http://localhost:3000

Documentation

All available props can be found via the references below:

License

MIT Copyright (c) TRBL, LLC

Keywords

FAQs

Last updated on 20 Nov 2019

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc