Package
focus-within
Style elements when they are focused or contain a focused element
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 4.3k
- +50% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 7 years ago
- v3.0.2
- GitHub stars
- 71
- 3 forks
- Open issues / PRs
- 3 / 1
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
4,268 downloads last week, 20,644 in the last month. The 12-month change of +50% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 3.0.2, 23 Nov 20187 years ago
- First published
- -
- Last push to GitHub
- 8 Feb 20192,785 days before the snapshot
- Repository archived
- No
- Open issues
- 3
- Open pull requests
- 1
- Commits, last 52 weeks
- 0
- Dependents on npm
- 12
Major versions
-
Recent releases
-
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >=6.0.0
- Runtimes
- -
- Unpacked size (npm)
- 31 kB
- Dependencies (1)
postcss
npm install focus-within- jsDelivr
https://cdn.jsdelivr.net/npm/focus-within@3.0.2/ - unpkg
https://unpkg.com/focus-within@3.0.2/ - esm.sh
https://esm.sh/focus-within@3.0.2
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| postcss-focus | 13.4k | - | 3 years ago | - | - |
| @ebay/skin | 24.6k | - | 6 days ago | ESM + CommonJS | - |
| eslint-plugin-styled-components-a11y | 84.4k | - | 1 year ago | CommonJS | - |
| @material/touch-target | 449.4k | - | 4 years ago | - | - |
| apca-w3 | 49.8k | - | 4 years ago | ESM only | - |
| @ariakit/store | 420.4k | - | 10 days ago | ESM only | - |
Indexability: Not indexed (discovery only): downloads_week 4268 < 10000.