react-headroom
Hide your header until you need it. React.js port of headroom.js
react-headroom@3.2.1 was published on 2022-09-26. Its manifest declares 3 runtime dependencies and 1 peer requirement. Bundled type declarations are not declared in the inspected metadata. No Node.js engine requirement is declared in this manifest.
All react-headroom versions · Permanent reference to 3.2.1
Package specifications
| Version | 3.2.1 |
|---|---|
| License declaration | MIT |
| Published | 2022-09-26T08:55:33.725Z |
| Node.js requirement | Not declared |
| Type declarations | Not declared |
| Runtime dependency count | 3 |
| Peer requirement count | 1 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 41.54 KiB |
| Published file count | 15 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | dist/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 8 |
| Repository stars | 1871 |
| Repository forks | 150 |
Install react-headroom 3.2.1
npm install react-headroom@3.2.1 pnpm add react-headroom@3.2.1 yarn add react-headroom@3.2.1
Runtime dependencies
- prop-types ^15.5.8
- raf ^3.3.0
- shallowequal ^1.1.0
Peer requirements
- react ^16.3.0 || ^17 || ^18
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- js-tokens@4.0.0 — indirect
- loose-envify@1.4.0 — indirect
- object-assign@4.1.1 — indirect
- performance-now@2.1.0 — indirect
- prop-types@15.8.1 — direct
- raf@3.4.1 — direct
- react-is@16.13.1 — indirect
- shallowequal@1.1.0 — direct
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.
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
|---|---|
| Code-Review | 4/10 — Found 8/17 approved changesets -- score normalized to 4 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Security-Policy | 0/10 — security policy file not detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/react-headroom/3.2.1 — retrieved 2026-10-29T12:21:18.225Z
- https://api.deps.dev/v3/systems/npm/packages/react-headroom/versions/3.2.1 — retrieved 2026-10-29T12:21:18.733Z
- https://api.deps.dev/v3/systems/npm/packages/react-headroom/versions/3.2.1:dependencies — retrieved 2026-10-29T12:21:18.755Z
- https://api.deps.dev/v3/projects/github.com%2FKyleAMathews%2Freact-headroom — retrieved 2026-10-29T12:21:18.906Z