Tutorials1 min read

How to Make an Animated Background in Figma

Want to add more motion and creative detail to your designs? An animated background is just what you need! All that’s left is learning to build one in Figma.

Animated backgrounds are often associated with high-tech interfaces, modern websites, and presentations. And why not? They look striking, and they keep users from getting bored. I love getting lost in details and animations like these on a site, as long as they actually belong there.

On a platform for learning math or foreign languages, for example, a background like this will get in the way more than it helps. But for creative agencies, music festivals, or gaming platforms, it can hit the mark like an arrow through an apple. Speaking of apples: Apple also often uses effects like these in its animations and product presentations. Let’s see what we need to create a background like this in Figma.

Step 1: Create a Rectangle

Our background will be made up of a group of rectangles that need to be set up properly. By the way, the frosted glass effect will come in handy here too. So if you haven’t gone through that tutorial yet, we recommend saving it as well.

  • Create a 144 × 144 rectangle.
  • Set its fill color to #B91818 at 5% opacity.

Step 2: Add Effects to It

The rectangles need a frosted glass effect that will disappear during the animation. We’ll get to that part later, though. For now, let’s add Layer blur and Background blur.

  • Add a Layer blur with a value of 4.
  • Add a Background blur with a value of 15.
  • Move the rectangle into a frame.

Why the frame? If you look closely, you’ll notice that the rectangle’s edges are blurred. If we build the background from a group of rectangles like this, the elements won’t sit flush against each other. That’s why we need the frame, plus one more thing: scaling the rectangle up inside that same frame to get rid of the blurred edges.

  • Scale up the rectangle inside the frame to remove the blurred edges.
  • Align it to the center of the frame.

Step 3: Create a Component and Set Up a Variant

Now we need to create a component with a variant and set up its opacity, color, and animation.

  • Create a component with a variant.
  • In the second variant, drop the rectangle’s opacity to 0%.

Step 4: Set Up the Component Animation

Now that we have two variants, we can set up a hover animation between them.

  • Set up an animation between the variants using the While hovering trigger.
  • Choose Dissolve with a duration of 700ms.

Step 5: Create a Frame

After all, how are we going to build an interface without a frame? And of course, we need to pick a color palette and a photo for the animated background to sit on top of.

  • Create a 1728 × 1117 frame.
  • Add the photo that will go in the background.

I generated my photo in Midjourney. You can use AI tools or, say, look for a suitable photo on free stock photo sites.

Step 6: Build a Grid from a Group of Rectangles

For our background to work across the whole photo, we need a grid of rectangles that sit flush against each other. In other words, the spacing between them has to be zero.

  • Duplicate the rectangle several times with the Ctrl (Cmd) + D shortcut, in the frame above the photo.
  • Arrange the copies into a grid with 0 spacing between them.

Step 7: Add Content to the Screen

Now we need to add the other interface elements to our frame: a header, buttons, icons, text, illustrations, and so on. Important: all of this has to sit above our group of rectangles in the layers panel on the left.

Now we can check out the result of our work in the Present tab.

And Our Animated Background Is Ready

Now we can admire the results of our work. And most importantly, tell ourselves with confidence: “Yes, I can now create an animated background in Figma—and super fast, too!”

Article updated

Subscribe to our regular digest

We'll send you useful articles and news from the world of AI, design, tech, and career growthdesign, and tech

Over 3,000 people already get our useful content