Appearance
Browser
Hook to measure the size and position of an element
import { useMeasure } from '@siberiacancode/reactuse';
const { x, y, width, height, top, left, bottom, right } = useMeasure(ref);
source
UseMeasureReturn
UseMeasureReturn & { ref: RefObject<Target> }