Package
solid-focus-trap
SolidJS utility that traps focus inside a given DOM element.
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
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- jsDelivr
https://cdn.jsdelivr.net/npm/solid-focus-trap@0.1.9/ - unpkg
https://unpkg.com/solid-focus-trap@0.1.9/ - esm.sh
https://esm.sh/solid-focus-trap@0.1.9
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @solid-primitives/focus | 5.2k | - | 1 month ago | ESM only | - |
| focus-trap | 4.6m | - | 3 months ago | ESM + CommonJS | - |
| @zag-js/live-region | 853.2k | - | 11 days ago | ESM + CommonJS | - |
| @zag-js/aria-hidden | 841.3k | - | 11 days ago | ESM + CommonJS | - |
Indexability: Indexed.