Skip to content
Hide your header until you need it
Branch: master
Clone or download
Latest commit 1de3024 Mar 5, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Merge pull request #140 from arjohnston/patch-1 Mar 5, 2019
test Avoid flash of animation when scrolling from top Jan 16, 2019
www Change translateY to translate3D (#141) Sep 21, 2018
.babelrc ease undefined comparison May 29, 2016
.eslintrc Update dependencies and fix eslint errors Oct 17, 2016
.gitignore Ignore cache directory for hard-source-webpack-plugin Oct 17, 2016
.npmignore
.travis.yml Add option to recalculate height on resize (#117) Sep 25, 2017
LICENSE Initial commit Feb 25, 2015
README.md Better syntax highlighting Oct 8, 2015
package.json 2.2.8 Mar 5, 2019
yarn.lock Change translateY to translate3D (#141) Sep 21, 2018

README.md

react-headroom

Hide your header until you need it.

Demo

http://kyleamathews.github.io/react-headroom

Install

npm install react-headroom

Usage

A simple example, see the docs site for more examples and documentation.

<Headroom>
  <h1>You can put anything you'd like inside the Headroom Component</h1>
</Headroom>
You can’t perform that action at this time.