An element's layout size, kept current while it is mounted, through a callback ref. It reads layout sizes (offsetWidth before the first paint, then the ResizeObserver's borderBoxSize), never getBoundingClientRect, so a face inside a zoomed canvas does not flip layouts as the canvas zooms; it observes and disconnects symmetrically with the element, so an effect replay cannot leave it unobserved.
pnpm dlx shadcn@latest add "https://pluginui.com/r/core-use-element-size.json"No files included in this item.