03.13 · Page Transitions
Circle Reveal
Pages grow from any spot you click and shrink back into it. Best for app navigation.
Click it
Click anywhere on the page or a page name at the top of the box, or press Show me.
Inside, the circle grows from the dot until it reaches the farthest corner, the end of a bright line; any smaller and that corner would stay uncovered. Click the page, or press Show me.
Switches at once simply changes page; Circle grows reveals the next page through a circle that widens from one spot. Click the page or a page name, or press Show me.
Try it
Change a setting, then try it again or press Show me.
Where it starts
Center and Corner (bottom right) ignore where you click.
Speed
How long the circle takes to cover the page.
Copy the prompt
Paste it into an AI assistant such as ChatGPT, Claude or Cursor to build this in your own project.
Add a circle reveal to [the links or buttons that change the page]. When the visitor clicks or taps, put the new page on top of the old one and show it only inside a circle that starts as a dot and grows until it covers everything. Make its final size reach the farthest corner from where it starts, so no corner is left uncovered. When it starts from the click, measure the spot at that moment; a press of the keyboard has no spot, so use the middle of the pressed button. Grow only the visible circle; neither page moves. If the visitor has reduced motion turned on, crossfade the pages instead. 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.