focus-trap-react 8.11.2
A React component that traps focus.
focus-trap-react@8.11.2 was published on 2022-05-25. Its manifest declares 1 runtime dependency and 3 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All focus-trap-react versions · Permanent reference to 8.11.2 · Latest release
Package specifications
| Version | 8.11.2 |
|---|---|
| License declaration | MIT |
| Published | 2022-05-25T21:54:35.372Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 1 |
| Peer requirement count | 3 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 71.06 KiB |
| Published file count | 8 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | dist/focus-trap-react.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 2 |
| Repository stars | 786 |
| Repository forks | 65 |
Install focus-trap-react 8.11.2
npm install focus-trap-react@8.11.2 pnpm add focus-trap-react@8.11.2 yarn add focus-trap-react@8.11.2
Runtime dependencies
- focus-trap ^6.9.3
Peer requirements
- react >=16.0.0
- react-dom >=16.0.0
- prop-types ^15.8.1
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- focus-trap@6.9.4 — direct
- tabbable@5.3.3 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
|---|---|
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Maintained | 10/10 — 30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10 |
| Code-Review | 10/10 — all changesets reviewed |
| Security-Policy | 10/10 — security policy file detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Pinned-Dependencies | 3/10 — dependency not pinned by hash detected -- score normalized to 3 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/focus-trap-react/8.11.2 — retrieved 2026-10-31T13:28:27.313Z
- https://api.deps.dev/v3/projects/github.com%2Ffocus-trap%2Ffocus-trap-react — retrieved 2026-10-31T11:16:04.463Z
- https://api.deps.dev/v3/systems/npm/packages/focus-trap-react/versions/8.11.2 — retrieved 2026-10-31T13:28:27.750Z
- https://api.deps.dev/v3/systems/npm/packages/focus-trap-react/versions/8.11.2:dependencies — retrieved 2026-10-31T13:28:27.764Z