# useWindowScroll > Track the window scroll position reactively. - Category: DOM - Package: `hookli` (install with `npm i hookli`) - Docs: https://hookli.vercel.app/docs/use-window-scroll ## Signature ```ts useWindowScroll(): { x: number; y: number } ```