A little helper for handling strings containing zero width control characters, ANSI styling, whitespaces, newlines, 💩, etc.
Quickly check if an element is within the browsers visible viewport, regardless of scroll position. If a user can see this element, the function will return true.
Determine whether an element is completely within the browser viewport
React component for the Intersection Observer API
A Svelte action that monitors an element enters or leaves the viewport or a parent element. Performant and efficient thanks to using Intersection Observer under the hood.