# mkoryak/floatThead

Fixed <thead>. Doesn't need any custom css/html. Does what position:sticky can't

Repository: https://github.com/mkoryak/floatThead
Canonical: https://ross.abutalabs.com/products/floatthead
Homepage: https://mkoryak.github.io/floatThead/
Language: JavaScript
License: MIT
License Family: permissive
Topics: table, floatthead, scrolling, sticky, header, jquery, sticky-headers, floating-header, cats-are-cute
Last push: 2026-08-13T00:16:44+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 8, longevity 100
- inputs: {"age_days": 5091, "days_push": 21, "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 1213, forks 193 (observed 2026-08-28T04:04:00.442679+00:00)

## What it is
A jQuery plugin that floats/fixed the table header (thead) while scrolling, requiring no custom CSS or HTML changes. It supports window scrolling, overflow container scrolling, horizontal and vertical scrolling, and handles cases where CSS position:sticky does not work.

## Use cases
- keep table header visible while scrolling a long table
- fixed table header inside a scrollable container
- sticky thead without writing custom CSS
- float table header with horizontal and vertical scrolling
- make DataTables have a sticky header
- sticky header when position:sticky doesn't work in my scroll setup

## When to choose
- you use jQuery and need a proven, battle-tested sticky table header
- your scroll parent is non-standard (body scrolls but table is in a container, or mixed horizontal/vertical scroll parents)
- you need dynamic sticky top offsets or sticky state callbacks
- you must support older browsers without position:sticky support

## When to avoid
- you are not using jQuery and can rely on native CSS position:sticky
- you are building a modern framework app where a framework-specific solution fits better
- you need a dependency-free vanilla JS solution

## Facets
- artifact type: plugin
- maturity: maintenance
- function: ui-components, animation
- domain: web-development, frontend
- platform: browser
- tags: jquery-plugin, sticky-table-header, fixed-header, scrolling, responsive-tables, javascript

## Member repositories
- mkoryak/floatThead (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:00.442679+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-30T06:17:56.631182+00:00, confidence not recorded.
  - readme: https://github.com/mkoryak/floatThead (fetched 2026-08-28T04:04:00.442679+00:00, sha 15a9a9c30f89)
  - homepage: https://mkoryak.github.io/floatThead/ (fetched 2026-08-29T12:25:41.640202+00:00, sha b3b66ea7b717)
  - registry_npm: https://registry.npmjs.org/floatthead (fetched 2026-08-29T12:25:41.650124+00:00, sha 642c28c20404)
- Data as of 2026-08-30T08:39:29.467469+00:00.
