The soft light
Aurora / Northern Lights
Blurred bands of light sway like the northern lights. Best for dark backgrounds.
11 effects from well-known websites
Effects people admire on well-known websites, the handbook animations that make something similar, and a prompt to build your own.
The Animation Handbook is not connected to any of these sites or their owners, and none of them has reviewed or approved this page. Each effect is described in our own words and shown only with the handbook's own demos.
Seen an effect on a well-known site that you want explained?
Suggest it on GitHub (opens in a new tab)Each entry was checked on its live site in the year shown; a site may have changed since.
Seen on stripe.com (opens in a new tab) in
LoopsMade from 3 animations
Built from the prompt below. It moves by itself.
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.
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.
Seen on apple.com/apple-vision-pro (opens in a new tab) in
Starts on scrollMade from 2 animations
Built from the prompt below. Scroll inside the box, or press Play.
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.
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.
Seen on landonorris.com (opens in a new tab) in
Starts on hoverMade from 3 animations
Built from the prompt below. Point at it, or press Show me.
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.
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.
Seen on linear.app (opens in a new tab) in
Starts on loadMade from 3 animations
Built from the prompt below. Press Replay to see it again.
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.
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.
Seen on en.wikipedia.org/wiki/Animation (opens in a new tab) in
Starts on hoverMade from 2 animations
Built from the prompt below. Point at it, or press Show me.
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.
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.
Seen on apple.com/iphone-18-pro (opens in a new tab) in
Starts on scrollMade from 1 animation
Built from the prompt below. Scroll inside the box, or press Play.
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.
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.
Seen on open.spotify.com (opens in a new tab) in
Starts on hoverMade from 2 animations
Built from the prompt below. Point at it, or press Show me.
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.
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.
Seen on youtube.com (opens in a new tab) in
Starts on loadMade from 1 animation
Built from the prompt below. Press Replay to see it again.
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.
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.
Seen on pudding.cool/2025/11/democracy (opens in a new tab) in
Starts on scrollMade from 2 animations
Built from the prompt below. Scroll inside the box, or press Play.
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.
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.
Seen on medium.com (opens in a new tab) in
Starts on scrollMade from 1 animation
Built from the prompt below. Scroll inside the box, or press Play.
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.
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.