02.04 · Entrance & Exit
Scale In / Zoom In
Grows from smaller to full size. Best for pop-ups and menus.
Watch it
It plays by itself. Turn on slow motion to see each part of the movement.
Inside, the outlines show where the card starts and ends, both pinned at the point it grows from. The faint outlines show its size each quarter of the time.
No growing appears at full size; Grows in starts smaller and grows into place, so it seems to arrive. With Loop off, both rest halfway through growing.
Try it
Change a setting and the animation plays again.
Starting size
Starting smaller makes a bigger zoom.
Grows from
Grow from a corner to look like it came from a button.
Speed
Slow is easy to follow. Fast feels snappy.
Copy the prompt
Paste it into an AI assistant such as ChatGPT, Claude or Cursor to build this in your own project.
Add a scale-in entrance to [the element you want to animate]. It should start smaller than its final size and grow to full size, anchored at the point given in the settings: its center, or an edge or corner so it seems to grow out of the button that opened it. A springy curve lets it overshoot slightly and settle, which makes the arrival feel physical. Unless the settings turn it off, fade it in while it grows so it never flashes at full strength while it is still tiny. Animate only its size and opacity. If the visitor has reduced motion turned on, show it at full size without the zoom. 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.