Skip to content
JS
Package

focus-layers

Tiny (~1Kb) React hooks for isolating focus within subsections of the DOM.

v0.6.1, 7 Mar 2021MITESM + CommonJSTypes: BundledAccessibilityReact
$ npm install focus-layers

Key numbers

As of 25 Sept 2026
Weekly downloads
12.5k
+52% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
5 years ago
v0.6.1
GitHub stars
303
14 forks
Open issues / PRs
2 / 14
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
05k10k15k20kSept 2025Mar 2026Sept 2026High 16k (18 Aug 2026)Low 812 (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.

12,525 downloads last week, 52,033 in the last month. The 12-month change of +52% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
0.6.1, 7 Mar 20215 years ago
First published
-
Last push to GitHub
18 Jul 20231,164 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
14
Commits, last 52 weeks
0
Dependents on npm
1

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
90 kB
Dependencies (0)
None
Peer dependencies (1)
react
npm install focus-layers
  • jsDelivrhttps://cdn.jsdelivr.net/npm/focus-layers@0.6.1/
  • unpkghttps://unpkg.com/focus-layers@0.6.1/
  • esm.shhttps://esm.sh/focus-layers@0.6.1
PackageWeekly downloadsGzipLast releaseModuleComparison
@a11y/focus-trap16.5k-6 years agoESM + CommonJS-
react-a11y-dialog6.6k-1 year agoESM + CommonJS-
svelte-navigator8.5k-4 years agoESM + CommonJS-
wc-datepicker15k--ESM + CommonJS-
@faceless-ui/modal543.5k-2 months agoESM only-
react-focus-on162.8k-9 months agoESM + CommonJS-
@nosferatu500/react-sortable-tree12k-29 days agoESM only-
tinykeys232.1k-4 months agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.