Skip to content

reveal

reveal-up / reveal-down / reveal-left / reveal-right slide a clip-path: inset(...) open from the corresponding edge. reveal-center expands a circle from the middle (it also fades opacity 0→1). reveal-oval-up and reveal-oval-down use an ellipse anchored to a corner — ideal for image reveals.

VariantClip-pathReveal direction
reveal-upinsetopens upward from the bottom edge
reveal-downinsetopens downward from the top edge
reveal-leftinsetopens leftward from the right edge
reveal-rightinsetopens rightward from the left edge
reveal-centercircleexpands from the centre (also fades 0→1)
reveal-oval-upellipsegrows upward from a bottom-anchored oval
reveal-oval-downellipsegrows downward from a top-anchored oval
AttributeDefaultNotes
aa-animate(required)reveal-up/down/left/right/center/oval-up/down
aa-duration(init)seconds — falls back to init({ duration }) (default 0.6)
aa-delay0seconds
aa-ease(init)any GSAP ease — falls back to init({ ease }) (default power4.out)
aa-scrub(off)true or seconds — drive reveal from scroll

gsap, ScrollTrigger.

reveal-up
reveal-right
reveal-center
reveal-oval-up