Skip to content

useWindowSize

This composable provides a simple utility to track the width and height of the browser window with reactivity

Basic usage

ts
const { height, width } = useWindowSize()

WARNING

More documentation to come