/ Scroll

A React Component to hide/show your header on scroll

A React Component to hide/show your header on scroll

react-headroom

Hide your header until you need it.

React Headroom is a React Component to hide/show your header on scroll. The header on this site is a living example. When you scroll down, it slides out of view and slides back in when scrolling up.

Fixed headers are nice for persistent navigation but they can also get in the way by taking up valuable vertical screen space. Using this component lets you have your persistent navigation while preserving screen space when the navigation is not needed.

Live Demo

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

GitHub