# captivationsoftware/react-sticky

<Sticky /> component for awesome React apps

Repository: https://github.com/captivationsoftware/react-sticky
Canonical: https://ross.abutalabs.com/products/react-sticky
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2023-01-03T16:38:17+00:00

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

## Adoption (not part of the score)
Stars 2636, forks 369 (observed 2026-08-28T04:07:06.288435+00:00)

## What it is
A React library providing <Sticky> and <StickyContainer> components that keep UI elements affixed to the viewport while scrolling. It computes positions and passes style and state props to a render callback.

## Use cases
- make a navbar stick to the top of the page while scrolling
- create a sticky sidebar in a two-column layout
- keep a header visible during scroll in a React app
- stack multiple sticky elements on top of each other
- limit sticky behavior to a container's bounds

## When to choose
- you need sticky elements in older browsers lacking CSS position: sticky support, such as IE11
- you need programmatic control over sticky state and positioning in React
- you're already on React 15.3+ with a legacy codebase

## When to avoid
- starting a new project - the library is no longer maintained
- your target browsers support CSS position: sticky, which is faster and simpler
- you need active support, bug fixes, or compatibility with the latest React versions

## Facets
- artifact type: library
- maturity: abandoned
- function: ui-components, frontend-framework
- domain: frontend, web-development
- platform: browser
- tags: react, sticky-elements, scroll-positioning, unmaintained, nodejs, javascript

## Member repositories
- captivationsoftware/react-sticky (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:06.288435+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-30T02:19:19.359086+00:00, confidence not recorded.
  - readme: https://github.com/captivationsoftware/react-sticky (fetched 2026-08-28T04:07:06.288435+00:00, sha 42b14764ea16)
  - registry_npm: https://registry.npmjs.org/react-sticky (fetched 2026-08-29T10:02:27.400539+00:00, sha bba766fd142b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
