02.03 · Entrance & Exit
Slide Up Reveal
Text rises into view from behind an invisible edge. Best for headlines.
Watch it
It plays by itself. Turn on slow motion to see each part of the movement.
Inside, each line sits in its own window: below the window's edge nothing shows. The faint part is the line still hidden under the edge as it rises.
No edge: you see each line travel up from below. Behind an edge: each line is cut off until it rises into view, so it seems to come from behind a surface.
Try it
Change a setting and the animation plays again.
Speed
How long each line takes to rise.
Delay between lines
Longer delays make the cascade easier to see.
Copy the prompt
Paste it into an AI assistant such as ChatGPT, Claude or Cursor to build this in your own project.
Add a slide-up reveal to [your headline or lines of text]. Each line should rise into view from just below an invisible edge, as if it is coming up from behind a solid surface, so viewers only see it arrive and never see it below the line. The text can slide up behind the edge or be uncovered in place from the bottom up; both look almost the same. When there are several lines, start each one a moment after the line above it so they cascade. The text must stay readable by screen readers and search engines the whole time. If the visitor has reduced motion turned on, show the text immediately without the rise. Match the settings listed below.
Your settings
Replace the words in brackets with your own element. Your settings are added at the end.
Free and open source. If this helped, a star on GitHub helps other people find it.
Star on GitHubWhat it is
The full explanation is in README.md.