pmndrs

pmndrs/react-use-measure

🙌 Utility to measure view bounds

TypeScript
973
34
MIT License

React-use-measure is a utility hook for React that measures the boundaries of a view, including dimensions and position, and updates reactively to changes in size, window scroll, and nested scroll areas. It's designed for React developers who need precise, real-time measurements of DOM elements, especially when dealing with complex layouts involving scroll areas or dynamic content.

Total donated
Undistributed
Share with your subscribers: