Z
Zyeon UI

useWindowSize · Zyeon UI

A hook that tracks the viewport size with per-frame or debounced commits and an explicit not-ready state before hydration.

npx shadcn@latest add @zyeon/use-window-size
Preview useWindowSize on Zyeon UI's site (opens in a new tab)

Not checked yet

Zyeon UI limits how often it can be asked, and useWindowSize hasn't had its turn. Its source will show here once it has.