Scroll Reveal

Clientside Interactivitycore-ui/interactive ↗

Elements fade in as they scroll into view — IntersectionObserver, no JS needed.

Live
This box fades up when you scroll to it.

Example

box := html.Div(html.DivConfig{Class: "card"},
    render.Text("Fades up when scrolled into view."))
interactive.Reveal(box, "fade-up") // or "fade-in", "slide-left", "slide-right"