Search results

2 packages found

A react hook that tracks a containers size and the range that width falls into within a list of breakpoints. This allows better responsive styling, where the user can style DOM elements based on their container, rather than the browser viewport.

published version 1.0.0, 4 years ago0 dependents licensed under $MIT
2,366

A simple React hook to track whether an element is visible in the viewport with the Intersection Observer. This API provides a native way to asynchronously observe changes in the intersection of a target element with an ancestor element or with a top-leve

published version 1.0.3, 5 years ago0 dependents licensed under $MIT
158