Animation Handbook

11 effects from well-known websites

Famous effects

Effects people admire on well-known websites, the handbook animations that make something similar, and a prompt to build your own.

Seen on stripe.com (opens in a new tab) in 

The twisting ribbon of light

LoopsMade from 3 animations

Built from the prompt below. It moves by itself.

What you see

Behind the headline, a wide ribbon made of fine strands of glowing color slowly twists in depth, some strands sharp and others soft, as if filmed by a camera, under a fine grain. Before 2026 the same place held a flat band of blended colors that flowed like slow paint, the look Mesh Gradient Animation makes.

Good to know

Starts
It moves on its own, and pauses when it is off screen.
On phones
A lighter version is drawn.
Reduced motion
A still picture of the ribbon is shown.

Build it with these animations

A prompt to build something similar

Add a slowly twisting ribbon of colored light behind [the heading at the top of your page]. Draw one wide ribbon of fine strands in three or four of your own colors that drifts and turns in depth, so some strands come into sharp focus while others blur, like a camera with a shallow focus, and lay a fine grain over it so the colors feel printed rather than flat. Keep the movement slow and the heading readable on every color it passes. Draw it on the graphics chip, show a still picture of it until it is ready, and pause it when it is off screen. On phones, draw a lighter version. If the visitor has reduced motion turned on, show the still picture.

Watch the real one on stripe.com (opens in a new tab)

Seen on apple.com/apple-vision-pro (opens in a new tab) in 

The headset that comes apart as you scroll

Starts on scrollMade from 2 animations

Built from the prompt below. Scroll inside the box, or press Play.

What you see

About two thirds of the way down the page, the headset comes up from below as a stack of its parts. As you scroll, the parts rise apart and drift off the top while the body swings up behind them and turns to face you, its two lenses in the middle, with a short caption underneath. Scrolling back reverses it.

Good to know

Starts
Scrolling through the section plays it, forward and back.
On phones
Touch scrolling drives it the same way.
Reduced motion
A few still pictures with their text are shown instead.

Build it with these animations

Scroll plays it

Scrub Animation

Scroll plays it forward and back, like dragging a video. Best for product tours.

It stays put

Pin Animation

One part stays put while its text changes on scroll. Best for feature lists.

A prompt to build something similar

Add a scroll-driven product reveal to [your product section]. In a section a few screens tall, bring the product up from below as a stack of its parts, and let the scroll lift the parts apart and carry them off the top while the body swings up behind them and turns to face the visitor, ending in the middle with a short headline and paragraph under it. Move it slightly slower than the page, and tie it to the scroll position so scrolling up plays it backward. Show a still picture until it is ready, and give the product a text description for screen readers. Touch scrolling drives it the same way. If the visitor has reduced motion turned on, show a few still pictures with their text instead.

Watch the real one on apple.com (opens in a new tab)

Seen on landonorris.com (opens in a new tab) in 

The liquid reveal under the pointer

Starts on hoverMade from 3 animations

Built from the prompt below. Point at it, or press Show me.

What you see

A large portrait stands in the middle of the screen. Wherever the pointer moves across his head, a soft, liquid-looking blob shows a second picture through it, his racing helmet, as if the portrait were being wiped away.

Good to know

Starts
Moving the pointer over the picture.
On phones
A finger dragged across the picture does the same.
Reduced motion
A plain circle shows at the pointer, without the wobble or the lag.

Build it with these animations

Follows the pointer

Cursor Follower

A dot trails your pointer and flips the colors under it. Best for portfolios.

The liquid shape

Morphing Blob

Blobs melt together, and one drop chases your pointer. Best for hero sections.

The hidden picture

Clip-Path Reveal

A growing shape uncovers it while it stays still. Best for images and banners.

A prompt to build something similar

Add a liquid reveal to [the picture at the top of your page, with a second picture hidden under it]. Stack the two pictures exactly. Wherever the pointer goes, a soft, round blob follows a little behind it, wobbling and stretching with its speed, and the hidden picture shows through the blob, as if the top picture were being wiped away. Let the blob shrink away when the pointer stops or leaves. Draw the mask on the graphics chip or with a clip, never by resizing the pictures, so it stays smooth. On touch screens, let a finger dragged across the picture do the same. If the visitor has reduced motion turned on, show a plain circle at the pointer, without the wobble or the lag.

Watch the real one on landonorris.com (opens in a new tab)

Seen on linear.app (opens in a new tab) in 

The headline that comes into focus

Starts on loadMade from 3 animations

Built from the prompt below. Press Replay to see it again.

What you see

As the page opens, the headline fades in while it rises a little and sharpens out of a soft blur, its second line a moment after the first. The line under it follows, then a small link and a large flat picture of the app come in the same way, the picture slowest. On a phone the headline wraps onto more lines, which arrive together.

Good to know

Starts
As the page opens. The headline is clear within a second; everything ends in about two and a half seconds.
On phones
Use less blur on phones, where it costs more.
Reduced motion
The opening is skipped: everything shows at once.

Build it with these animations

Lines in turn

Split Text Reveal

Text breaks into pieces that appear one after another. Best for headlines.

Blur to sharp

Blur In

Comes into focus from a blur, like a camera. Best for featured cards and photos.

Part after part

Stagger Reveal

Items in a group appear one after another as it scrolls in. Best for card grids.

A prompt to build something similar

Add a focus-in opening to [the headline, the line under it, the buttons and the picture at the top of your page]. As the page opens, bring in the headline, each line fading in while it rises a little and sharpens out of a soft blur, the second a moment after the first. Then bring in the line under it, the buttons and the picture the same way, each a little later and slower. Let every part start fast and settle gently: the headline is clear within a second and everything ends in about two and a half seconds. Animate only fading, blur and small moves, and use less blur on phones, where it costs more. If the visitor has reduced motion turned on, show everything at once.

Watch the real one on linear.app (opens in a new tab)

Seen on apple.com (opens in a new tab) in 

The menu that drops in, link by link

Starts on pressMade from 3 animations

Built from the prompt below. Press it, or press Show me.

What you see

On a phone, the two-line menu button folds into an X while the menu fills the screen and its links drop into place one after another. On a computer, pointing at a top item opens a panel that grows down from the bar, its links appearing in turn, while the page behind blurs.

Good to know

Starts
A tap on the menu button. On computers, pointing at a top item or reaching it with the keyboard.
On phones
A tap on the menu button opens the menu over the whole screen.
Reduced motion
The menus show and hide at once, without opening in steps.

Build it with these animations

Links in turn

Stagger Reveal

Items in a group appear one after another as it scrolls in. Best for card grids.

The blurred page

Glassmorphism Animated

Frosted glass cards blur the colors behind them. Best for cards and panels.

A prompt to build something similar

Add a menu that opens in steps to [the main menu in your site's header]. On phones, a tap on the menu button folds its lines into an X while the menu opens to fill the screen, and its links drop a few pixels into place one after another. On computers, pointing at a top item, or reaching it with the keyboard, opens a panel below it the same way while the page behind blurs. Keep the wait between links tiny, so the whole menu is there in about half a second, and close it faster than it opens. Make every opener a real button that tells screen readers whether its menu is open. If the visitor has reduced motion turned on, show and hide the menus at once.

Watch the real one on apple.com (opens in a new tab)

Seen on en.wikipedia.org/wiki/Animation (opens in a new tab) in 

Link previews

Starts on hoverMade from 2 animations

Built from the prompt below. Point at it, or press Show me.

What you see

On any article, rest the pointer on a link and, after about half a second, a small card with the linked article's first lines and picture fades in under the link, rising slightly into place. It stays while the pointer is on it and fades out a moment after the pointer leaves.

Good to know

Starts
Resting the pointer on a link for a moment, or reaching it with the keyboard.
On phones
There is no hover, so a tap opens the link as usual.
Reduced motion
The card shows and hides without movement.

Build it with these animations

The pause

Tooltip Reveal

A small label fades in after a short pause. Best for icon buttons.

The fade

Fade In / Fade Out

Fades in to appear and fades out to leave. Best for pop-ups and tooltips.

A prompt to build something similar

Add link previews to [the links in your articles that point to other pages]. When the pointer rests on a link for half a second, a small card with the page's title, first sentences and picture fades in below the link, rising into place. It stays while the pointer is on it and fades a moment after the pointer leaves. The wait keeps cards from flashing as the pointer passes by; a card with no room below opens above the link. Animate only the fade and a small rise. Show the same card when keyboard focus reaches the link. On touch screens, which have no hover, let a tap open the link as usual. If the visitor has reduced motion turned on, show and hide the card without movement.

Watch the real one on en.wikipedia.org (opens in a new tab)

Seen on apple.com/iphone-18-pro (opens in a new tab) in 

The color that sweeps across the headline

Starts on scrollMade from 1 animation

Built from the prompt below. Scroll inside the box, or press Play.

What you see

Far down the page, a large headline stays hidden until it rises into the window. Then a soft band of pale blue and aqua travels along both lines from left to right, bringing the letters in as it passes, and fades to plain white. It takes about three seconds, plays once and does not replay when you scroll back.

Good to know

Starts
When the headline rises into view. It plays once, in about three seconds.
On phones
Touch scrolling brings it into view the same way.
Reduced motion
The headline shows in its plain color, with no sweep.

Build it with these animations

The color sweep

Text Gradient Animation

Colors flow through the letters while the text stays still. Best for headlines.

A prompt to build something similar

Add a one-time color sweep to [the main headline of a section]. Keep the headline hidden until it rises into the window. Then let a soft-edged band of a few of your own colors travel along its letters from left to right at a steady pace, bringing each letter in as it passes, and fading to the headline's plain color within about three seconds. Paint the band inside the letters and move only the band, so the words never shift or blur. Play it once, never again while the visitor reads. Keep the real text for screen readers. Touch scrolling brings it into view the same way. If the visitor has reduced motion turned on, show the headline in its plain color with no sweep.

Watch the real one on apple.com (opens in a new tab)

Seen on open.spotify.com (opens in a new tab) in 

The play button that rises

Starts on hoverMade from 2 animations

Built from the prompt below. Point at it, or press Show me.

What you see

Point at an album or playlist card and the card lightens a shade while a round play button fades in, rising a few pixels into the cover's bottom corner. It starts the moment the pointer arrives and passes from card to card with no pause. Pointing at the button itself makes it grow slightly and brighten.

Good to know

Starts
Pointing at a card, or reaching it with the keyboard.
On phones
There is no hover, so the play button is always shown.
Reduced motion
The button shows and hides without movement.

Build it with these animations

The card lightens

Hover State Animation

Six ways a card can react when you point at it. Best for buttons and cards.

The button rises

Slide In

Travels into place from one edge. Best for side panels and notifications.

A prompt to build something similar

Add a hover effect to [the album or playlist cards in your grid]. When the pointer enters a card, its background lightens a little and a round play button fades in at the bottom corner of the picture, rising about eight pixels into place within a fifth of a second; when the pointer leaves, both go back. React at once, so moving across the grid feels light, and animate only fading and movement. The button grows slightly and brightens when the pointer is on it. Show the button on keyboard focus too, and always on touch screens, where there is no hover. Name the button for what it plays. If the visitor has reduced motion turned on, show and hide the button without movement.

Watch the real one on open.spotify.com (opens in a new tab)

Seen on youtube.com (opens in a new tab) in 

Gray shapes while it loads

Starts on loadMade from 1 animation

Built from the prompt below. Press Replay to see it again.

What you see

Before the videos appear, gray boxes and bars in the shapes of pictures, round channel icons and titles fill the page, and they sit perfectly still. When the videos arrive, the whole grid of shapes gives way to the real cards in the same places: the text at once, then the pictures one by one as each finishes loading.

Good to know

Starts
While the content loads. The shapes leave as the content arrives.
On phones
Fewer shapes are shown, so they fit the screen.
Reduced motion
Everything appears at once, the pictures together with the text.

Build it with these animations

Gray shapes

Skeleton Loader

Gray shapes hold the place of content while it loads. Best for feeds and cards.

A prompt to build something similar

Add a loading state to [the grid or feed whose content loads]. While the content loads, show still gray shapes where each item will go, in the sizes of what is coming: a picture box, a round avatar and two lines of text. When the content arrives, swap it in for the shapes in exactly the same places, so nothing on the page jumps: the text and avatars at once, then each picture a moment later, one after another, with no fade. Show only as many shapes as fit the screen, fewer on phones. Tell screen readers that the content is loading. If the visitor has reduced motion turned on, show everything at once, the pictures together with the text.

Watch the real one on youtube.com (opens in a new tab)

Seen on pudding.cool/2025/11/democracy (opens in a new tab) in 

The chart that changes as you read

Starts on scrollMade from 2 animations

Built from the prompt below. Scroll inside the box, or press Play.

What you see

A chart of dots stays on screen while short paragraphs scroll past. As you scroll, the years go by and each year's dots pile up into the chart, the ones the story is about in bright color, and at some paragraphs the dots slide into a new chart; scrolling back undoes each step.

Good to know

Starts
Each time a new block of text reaches the middle of the screen.
On phones
The chart stays at the top and each block of text slides up below it on a card.
Reduced motion
The steps switch without animating.

Build it with these animations

The steps

Scrollytelling

A picture beside the story changes as you read down. Best for data stories.

The chart stays

Sticky Section

A section holds still while its content changes. Best for feature tours.

A prompt to build something similar

Add a scrollytelling layout to [your story or data article]. Keep a chart or picture fixed on the screen while short blocks of text scroll past it, and change the chart each time a new block reaches the middle of the screen: light up the dots or bars the text talks about and fade the rest, so the words and the chart tell the story together. Change it smoothly, and let scrolling back undo each step. On phones, keep the chart at the top and let each block of text slide up below it on a wide card. Keep every step readable without the chart for screen readers. If the visitor has reduced motion turned on, switch between the steps without animating.

Watch the real one on pudding.cool (opens in a new tab)

Seen on medium.com (opens in a new tab) in 

The top bar that hides while you read

Starts on scrollMade from 1 animation

Built from the prompt below. Scroll inside the box, or press Play.

What you see

On a phone, the top bar moves with your finger. Scroll down into an article and it rides up with the text until it is out of sight; scroll back up, even a little, and it slides down again by the same distance, fully back after a short scroll. On a wide screen the bar just stays where it is.

Good to know

Starts
Scrolling down moves the bar out of sight; scrolling up brings it back by the same amount.
On phones
Touch scrolling works the same way.
Reduced motion
The bar fades out and in instead of moving.

Build it with these animations

The whole effect

Hide-on-Scroll Header

Scrolling down hides the top bar; scrolling up shows it. Best for mobile pages.

A prompt to build something similar

Add a top bar that moves with the scroll to [the header of your article pages]. Scrolling down, move the bar up by exactly as far as the page moved, until it is out of sight; the moment the reader scrolls up, move it back down by the same amount, so a short scroll brings it fully back. Do this on every scroll step, not after scrolling stops, and never past fully hidden or fully shown. Move it without pushing the text around. Touch scrolling works the same way, and keyboard focus moving into the bar brings it back. If the visitor has reduced motion turned on, fade the bar out and in instead of moving it.

Watch the real one on medium.com (opens in a new tab)

Not connected to the site. Everything shown is our own version.