# KyleAMathews/react-headroom

Hide your header until you need it

Repository: https://github.com/KyleAMathews/react-headroom
Canonical: https://ross.abutalabs.com/products/react-headroom
Homepage: https://kyleamathews.github.io/react-headroom
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2022-12-06T20:18:19+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4207, "days_push": 1366, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1872, forks 150 (observed 2026-08-28T04:05:47.019873+00:00)

## What it is
A React component that hides your fixed header when scrolling down and reveals it when scrolling up. It is a React port of headroom.js with sensible defaults and customizable animations.

## Use cases
- hide header on scroll down in react
- show navbar when scrolling up
- save vertical screen space with fixed navigation
- react component for auto-hiding sticky header
- customize header pin/unpin animation in react

## When to choose
- you use React and want a plug-and-play hide/show header
- you want persistent navigation without sacrificing screen space
- you need simple CSS class hooks or inline style overrides for animations

## When to avoid
- you don't use React (use headroom.js directly)
- you need a framework-agnostic vanilla JS solution
- you need actively developed features — the project is in maintenance mode

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, animation, frontend-framework
- domain: web-development, frontend
- platform: cross-platform
- tags: react, react-component, header, scroll, headroom, web-server, nodejs

## Member repositories
- KyleAMathews/react-headroom (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:47.019873+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:14:55.954583+00:00, confidence not recorded.
  - readme: https://github.com/KyleAMathews/react-headroom (fetched 2026-08-28T04:05:47.019873+00:00, sha 3a95bcdaf6f5)
  - homepage: https://kyleamathews.github.io/react-headroom (fetched 2026-08-29T10:53:59.068969+00:00, sha a3d54305cc60)
  - registry_npm: https://registry.npmjs.org/react-headroom (fetched 2026-08-29T10:53:59.078664+00:00, sha 726c997dfe39)
- Data as of 2026-08-30T08:39:29.467469+00:00.
