@codingheads/sticky-header

A library that allows you to create sticky headers. It uses `position: sticky` and IntersectionObserver

Browse on unpkg