Package
@solid-primitives/focus
Primitives for autofocusing HTML elements and trapping focus within a container
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 5.2k
- - over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 2
- Direct, from package.json
- Last release
- 1 month ago
- v1.0.0-next.4
- GitHub stars
- 1.6k
- 163 forks
- Open issues / PRs
- 21 / 33
- Contributors
- -
- Commits, last 52 weeks
- 147
No weekly download data in the snapshot.
5,198 downloads last week, 15,932 in the last month. No 52-week series has been fetched yet.
- Releases, last 12 months
- -
- Latest version
- 1.0.0-next.4, 12 Aug 20261 month ago
- First published
- -
- Last push to GitHub
- 19 Sept 20265 days before the snapshot
- Repository archived
- No
- Open issues
- 21
- Open pull requests
- 33
- Commits, last 52 weeks
- 147
- Dependents on npm
- 0
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)
- 49 kB
- Dependencies (2)
@solid-primitives/utils@solid-primitives/event-listener- Peer dependencies (2)
solid-js@solidjs/web
npm install @solid-primitives/focus- jsDelivr
https://cdn.jsdelivr.net/npm/@solid-primitives/focus@1.0.0-next.4/ - unpkg
https://unpkg.com/@solid-primitives/focus@1.0.0-next.4/ - esm.sh
https://esm.sh/@solid-primitives/focus@1.0.0-next.4
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| solid-focus-trap | 125.2k | - | 1 year ago | ESM only | - |
Indexability: Not indexed (discovery only): downloads_week 5198 < 10000.