Package
focus-layers
Tiny (~1Kb) React hooks for isolating focus within subsections of the DOM.
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
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- jsDelivr
https://cdn.jsdelivr.net/npm/focus-layers@0.6.1/ - unpkg
https://unpkg.com/focus-layers@0.6.1/ - esm.sh
https://esm.sh/focus-layers@0.6.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @a11y/focus-trap | 16.5k | - | 6 years ago | ESM + CommonJS | - |
| react-a11y-dialog | 6.6k | - | 1 year ago | ESM + CommonJS | - |
| svelte-navigator | 8.5k | - | 4 years ago | ESM + CommonJS | - |
| wc-datepicker | 15k | - | - | ESM + CommonJS | - |
| @faceless-ui/modal | 543.5k | - | 2 months ago | ESM only | - |
| react-focus-on | 162.8k | - | 9 months ago | ESM + CommonJS | - |
| @nosferatu500/react-sortable-tree | 12k | - | 29 days ago | ESM only | - |
| tinykeys | 232.1k | - | 4 months ago | ESM + CommonJS | - |
Indexability: Indexed.