headroom js react

JavaScript
<Headroom>
  <h1>You can put anything you'd like inside the Headroom Component</h1>
</Headroom>

Source

Also in JavaScript: