Package
react-focus-lock
It is a trap! (for a focus)
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 2.7m
- +38% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 6
- Direct, from package.json
- Last release
- 9 months ago
- v2.13.7
- GitHub stars
- 1.4k
- 73 forks
- Open issues / PRs
- 0 / 5
- Contributors
- -
- Commits, last 52 weeks
- 6
Downloads
Last week 2026-09-15 to 2026-09-21
2,733,580 downloads last week, 12,380,968 in the last month. The 12-month change of +38% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 1111 in total
- Latest version
- 2.13.7, 29 Nov 20259 months ago
- First published
- 29 Aug 2017
- Last push to GitHub
- 25 Sept 2026same day as the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 5
- Commits, last 52 weeks
- 6
- Dependents on npm
- 623
Major versions
- v2 first release 2.0.0, 15 Jun 2019
- v1 first release 1.0.0, 29 Aug 2017
Recent releases
| Version | Published |
|---|---|
| 2.13.7 | 29 Nov 2025 |
| 2.13.6 | 7 Feb 2025 |
| 2.13.5 | 15 Dec 2024 |
| 2.13.4 | 15 Dec 2024 |
| 2.13.3 | 15 Dec 2024 |
| 2.13.2 | 26 Aug 2024 |
| 2.13.1 | 26 Aug 2024 |
| 2.13.0 | 25 Aug 2024 |
| 2.12.1 | 22 Apr 2024 |
| 2.12.0 | 20 Apr 2024 |
| 2.11.3 | 13 Apr 2024 |
| 2.11.2 | 28 Feb 2024 |
| 2.11.1 | 19 Feb 2024 |
| 2.11.0 | 16 Feb 2024 |
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 108 kB
- Dependencies (6)
focus-lockprop-typesuse-sidecar@babel/runtimeuse-callback-refreact-clientside-effect- Peer dependencies (2)
react@types/react
npm install react-focus-lockCDN
jsDelivr: 128k requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/react-focus-lock@2.13.7/ - unpkg
https://unpkg.com/react-focus-lock@2.13.7/ - esm.sh
https://esm.sh/react-focus-lock@2.13.7
Indexability: Indexed.