0.0.8 • Published 4 years ago
@faceless-ui/parallax v0.0.8
React Parallax
Highlights
Quick Start
Installation
$ npm i @trbl/react-parallax
$ # or
$ yarn add @trbl/react-parallax
Composition
import React from 'react';
import { ParallaxProvider, Parallax } from '@trbl/react-parallax';
const App = () => (
<ParallaxProvider>
<Parallax speed={0.3}>
...
</Parallax>
<Parallax speed={0.9}>
...
</Parallax>
</ParallaxProvider>
)
export default App;
For working examples, see the demo app.
Demo
$ git clone git@github.com:trouble/react-parallax.git
$ yarn
$ yarn dev
$ open http://localhost:3000
API
Contribution
Help us, or let us help you help us.
License
MIT Copyright (c) TRBL, LLC
0.0.8
4 years ago