Search results

2 packages found

A React hook to detect if an HTML Element has been display in the viewport. This is easy to use. You just have to provide an react ref. By default it freeze the value when the element has been display. That is nice to triggered one time animation !

published version 2.0.2, 2 years ago0 dependents licensed under $GPL-3.0-or-later
301

A lightweight utility for applying scroll-based animations to elements using the **Intersection Observer API**. Easily add or remove classes to elements as they enter or leave the viewport of a scrollable container.

published version 0.0.3, 10 days ago0 dependents licensed under $ISC
173