Skip to content
JS
Package

svelte-inview

A Svelte action that monitors an element enters or leaves the viewport or a parent element. Performant and efficient thanks to using Intersection Observer under the hood.

v4.0.4, 1 Oct 2024MITESM + CommonJSTypes: BundledDOM and browser utilitiesSvelte
$ npm install svelte-inview

Key numbers

As of 25 Sept 2026
Weekly downloads
11.4k
+64% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
1 year ago
v4.0.4
GitHub stars
777
25 forks
Open issues / PRs
1 / 3
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
05k10k15k20kSept 2025Mar 2026Sept 2026High 17.3k (8 Sept 2026)Low 4.4k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

11,368 downloads last week, 61,645 in the last month. The 12-month change of +64% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
4.0.4, 1 Oct 20241 year ago
First published
-
Last push to GitHub
1 Oct 2024723 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
3
Commits, last 52 weeks
0
Dependents on npm
11

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
45 kB
Dependencies (0)
None
Peer dependencies (1)
svelte
npm install svelte-inview
  • jsDelivrhttps://cdn.jsdelivr.net/npm/svelte-inview@4.0.4/
  • unpkghttps://unpkg.com/svelte-inview@4.0.4/
  • esm.shhttps://esm.sh/svelte-inview@4.0.4
PackageWeekly downloadsGzipLast releaseModuleComparison
svelte-intersection-observer8.3k-2 months agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.