Skip to content
Feedback & Data

TimelineFlow

A rail fills as you scroll, and each event lights up the moment the fill reaches its dot. Dot places are measured, so rows of any height line up, and the last one always lights.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
items{ title, time?, description? }[]โ€”Events in order. Titles must be different.
containerRefObject<HTMLElement | null>โ€”Scroll box to watch. It needs position: relative. Leave out to follow the page.
accentstring"#a78bfa"Rail and dot colour.
classNamestringโ€”Wrapper look.