opensourcesveltejavascriptlibrary

Svelte Lookout

Svelte library for easy access to window events — mouse position, screen size, scroll, and more as reactive stores.

Svelte Lookout

Svelte Lookout is a library for easily accessing window events — such as mouse position and movement, screen size, scroll position, and more.

Inspired by tornis, it exposes browser data as reactive Svelte stores, letting you react to changes without manually registering event listeners.

Visit the demo site to see the watchers in action.