react-headroom-youla

Hide your header until you need it. React.js port of headroom.js

Usage no npm install needed!

<script type="module">
  import reactHeadroomYoula from 'https://cdn.skypack.dev/react-headroom-youla';
</script>

README

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>