Skip to content
JS
Package

react-focus-lock

It is a trap! (for a focus)

v2.13.7, 29 Nov 2025MITESM + CommonJSTypes: BundledReactAccessibility
$ npm install react-focus-lock

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
01m2m3m4mSept 2025Mar 2026Sept 2026High 3.6m (25 Aug 2026)Low 1.1m (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.

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

  1. v2 first release 2.0.0, 15 Jun 2019
  2. v1 first release 1.0.0, 29 Aug 2017

Recent releases

VersionPublished
2.13.729 Nov 2025
2.13.67 Feb 2025
2.13.515 Dec 2024
2.13.415 Dec 2024
2.13.315 Dec 2024
2.13.226 Aug 2024
2.13.126 Aug 2024
2.13.025 Aug 2024
2.12.122 Apr 2024
2.12.020 Apr 2024
2.11.313 Apr 2024
2.11.228 Feb 2024
2.11.119 Feb 2024
2.11.016 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-lock

CDN

jsDelivr: 128k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/react-focus-lock@2.13.7/
  • unpkghttps://unpkg.com/react-focus-lock@2.13.7/
  • esm.shhttps://esm.sh/react-focus-lock@2.13.7
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.