02.12 · Entrance & Exit

Bounce In

Lands with a springy bounce. Best for badges and success messages.

Watch it

It plays by itself. Turn on slow motion to see each part of the movement.

◈
Bounce Landing
A real bounce goes past its size and back, a little less each time.

Try it

Change a setting and the animation plays again.

Bounce strength

How far it grows past full size before settling.

Number of bounces

One usually looks best; more looks cartoonish.

Speed

Too fast and the bounce looks like a jitter.

More optionsFewer options

Softens the first moment.

Copy the prompt

Paste it into an AI assistant such as ChatGPT, Claude or Cursor to build this in your own project.

Add a bounce-in entrance to [the element you want to animate]. When it appears, it should start small and a little below its final spot, grow slightly past full size, dip just under it, then settle, as if it landed with a small spring. Each bounce is smaller than the one before, like energy running out, and one bounce usually looks best. Unless the settings turn it off, fade it in at the same time. Animate only its position, size and opacity so it stays smooth. If the visitor has reduced motion turned on, show the element without the bounce. Match the settings listed below.

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 GitHub

What it is

The full explanation is in README.md.

Good for

  • Success messages
  • Badges
  • Small pop-ups
  • Playful brands

Avoid on

  • Formal content
  • Large panels