Skip to content
JS
Package

solid-focus-trap

SolidJS utility that traps focus inside a given DOM element.

v0.1.9, 16 Mar 2025MITESM onlyTypes: BundledAccessibility
$ npm install solid-focus-trap

Key numbers

As of 25 Sept 2026
Weekly downloads
125.2k
+3458% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
1 year ago
v0.1.9
GitHub stars
725
16 forks
Open issues / PRs
14 / 0
Contributors
-
Commits, last 52 weeks
4

Downloads

Last week 2026-09-15 to 2026-09-21
050k100k150k200kSept 2025Mar 2026Sept 2026High 151.3k (25 Aug 2026)Low 3.2k (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.

125,176 downloads last week, 516,511 in the last month. The 12-month change of +3458% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
0.1.9, 16 Mar 20251 year ago
First published
-
Last push to GitHub
24 Aug 202631 days before the snapshot
Repository archived
No
Open issues
14
Open pull requests
0
Commits, last 52 weeks
4
Dependents on npm
2

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
18 kB
Dependencies (1)
@corvu/utils
Peer dependencies (1)
solid-js
npm install solid-focus-trap
  • jsDelivrhttps://cdn.jsdelivr.net/npm/solid-focus-trap@0.1.9/
  • unpkghttps://unpkg.com/solid-focus-trap@0.1.9/
  • esm.shhttps://esm.sh/solid-focus-trap@0.1.9
PackageWeekly downloadsGzipLast releaseModuleComparison
@solid-primitives/focus5.2k-1 month agoESM only-
focus-trap4.6m-3 months agoESM + CommonJS-
@zag-js/live-region853.2k-11 days agoESM + CommonJS-
@zag-js/aria-hidden841.3k-11 days agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.