StealThis .dev

Virtualized Table

Keep a dense table responsive by windowing rows while headers stay outside the scroll region.

Open in Lab
html css javascript react
Targets: TS JS HTML React

Code

Virtualized Table

Keep a dense table responsive by windowing rows while headers stay outside the scroll region.

Support notes

Manual windowing keeps DOM work proportional to the viewport. IntersectionObserver is used for the feed sentinel; row heights are intentionally explicit so the math stays predictable.

Included demo

  • Vanilla HTML, CSS, and JavaScript with zero external dependencies.
  • React equivalent using the same interaction model.
  • A Lab route for trying the behavior in isolation.

Integration checklist

Keep state updates separate from presentation, preserve semantic labels, and add persistence or server callbacks at the boundary where your product needs them.