Search results

39 packages found

Resize observer for React

published version 1.4.3, 7 months ago586 dependents licensed under $MIT
9,597,236

React hook to measure an element's size and handle responsive components.

published version 3.0.1, 2 years ago77 dependents licensed under $MIT
257,854

A tiny React hook for rendering large datasets like a breeze.

published version 0.7.0, 3 years ago8 dependents licensed under $MIT
63,325

Resize observer for React

published version 1.0.0, 6 months ago9 dependents licensed under $MIT
18,281

Fast dimension bindings using ResizeObserver

published version 1.1.0, 2 years ago0 dependents licensed under $MIT
6,412

Resize observer for Vue. Detect size changes of DOM elements. Support Vue's directive and component.

published version 2.1.0, 2 years ago1 dependents licensed under $MIT
6,462

Observe multiple React components with a single ResizeObserver.

published version 1.3.0, 3 years ago1 dependents licensed under $MIT
2,383

Get resize events of an observed DOM element's height, width etc. from a resize-observer.

published version 2.4.0, 3 months ago3 dependents licensed under $MIT
2,710

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,650

React hook which dynamically calculates the maximum number of characters that fit into an HTML element and truncates the text from middle with given middle chars.

published version 1.2.0, 3 years ago0 dependents licensed under $MIT
787

A lit controller and directive for observing resizes.

published version 0.0.7, 2 years ago6 dependents licensed under $MIT
456

Resize observer directive for vue 3.0

published version 1.0.4, 5 years ago0 dependents licensed under $MIT
321

A custom element that offers a declarative interface to the ResizeObserver API.

published version 2.0.1, a year ago0 dependents licensed under $MIT
338

Executes a callback whenever the bounding rectangle of an element changes. It uses `IntersectionObserver` under the hood, eliminating the need for a polling loop.

published version 0.1.2, a month ago1 dependents licensed under $MIT
237

React hooks for element-based media queries

published version 0.2.0, 4 years ago0 dependents licensed under $MIT
119

Resize Observers simplified

published version 2.2.0, 5 days ago1 dependents
118

监听dom元素尺寸变化,支持动态添加class和回调函数,用于更精细的局部响应式适配

published version 1.0.0, 10 days ago0 dependents licensed under $ISC
107

This library provides a directive that listens resize event of an element.

published version 17.0.0, a year ago0 dependents licensed under $MIT
105

Respond to changes in a DOM element's size. With React Breakpoints, element queries are no longer "web design's unicorn" 🦄

published version 1.2.0, 3 years ago1 dependents licensed under $MIT
83

SolidJS component that automatically measures and provides the width and height of its parent — useful for virtualized lists, grids, and charts.

published version 0.1.3, a month ago0 dependents licensed under $MIT
65