Skip to content

kumparan/kumparallax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kumparallax

React component to perform a parallax header.

This component is a wrapper of https://github.com/GoogleChrome/ui-element-samples/tree/gh-pages/parallax with some changes to fit Kumparan application's need.

The component is made to be as reusable as possible. There are three props that can be passed to the component:

  1. parallaxImage: the source of parallax image url
  2. parallaxHeader: the element that will overlay the parallax. The parallax element will suit the height of this element. By default, the parallax height is 400px.
  3. parallaxContent: the scrollable element next to the parallax.

About

React component to perform a parallax header.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages