dollarshaveclub/stickybits
Stickybits is a lightweight alternative to `position: sticky` polyfills 🍬 observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3599
- days_rel: n/a
- days_push: 2351
- n_releases_24m: 0
Adoption not part of the score
2158 stars · 159 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Stickybits is a tiny (~1kb, zero-dependency) JavaScript library that makes elements stick vertically on scroll, serving as a lightweight alternative to position: sticky polyfills. It adds CSS classes like .js-is-sticky and .js-is-stuck when elements become sticky or stuck, and prefers native position: sticky when supported.
Use cases
- make a header stick to the top of the page on scroll
- sticky sidebar navigation while scrolling
- avoid jumpiness of position: fixed based plugins
- add CSS classes when an element becomes stuck
- cross-browser sticky element behavior without heavy polyfills
When to choose
- you need sticky elements with a tiny footprint and no dependencies
- you want CSS class hooks for sticky/stuck states
- you need consistent sticky behavior across older browsers
When to avoid
- you only target modern browsers that fully support position: sticky
- you need complex scroll-driven animations or parallax effects
- the project is in maintenance mode and moved to yowainwright/stickybits
Facets
library · maturity maintenance
ui-components animation frontend web-development browser sticky-position scroll sticky-header css-classes zero-dependency javascript
2 sources
- readme: https://github.com/dollarshaveclub/stickybits · fetched 2026-08-28 · 791cb99223d4
- homepage: https://github.com/yowainwright/stickybits · fetched 2026-08-29 · ff5f50c1f165
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dollarshaveclub/stickybits | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="dollarshaveclub/stickybits")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem