Read Progress
Thin progress bar fixed at top of page that fills as the user scrolls. Tracks window scroll or a custom container.
primitive read-progress
Usage
// Add once to the page body:
primitive.ReadProgress(primitive.ReadProgressProps{
Height: "3px",
Color: "var(--accent)",
})