Tutorials1 min read

Create a Hover Animation in Figma

In this tutorial, we’ll learn to create a cool hover animation for cards. We’ll need some images and basic Auto layout skills. Let’s go through how to create this animation step by step.

Step 1

  • Create a frame.
  • Add design elements, text, and a header.
  • Group the elements that should stay fixed.
  • Select the group and click Fix position when scrolling in the menu on the right.

Step 2

  • Create a new frame.
  • Add a photo to the frame.

Step 3

  • Type your text (T).
  • Select the text and add Auto layout (Shift+A).

Step 4

  • Add a background color to the Auto layout at 80% opacity.
  • Add a Background blur effect of ~20.
  • Adjust the padding.

Step 5

  • Move the Auto layout into the frame with the photo.
  • Stretch the Auto layout to the full width of the frame.
  • Add a button.

Step 6

  • Duplicate the frame.
  • Move the button outside the frame.
  • Enlarge the photo and rotate it slightly.
  • Select both frames and create a Component set.

Step 7

Connect the components:

  • While hovering
  • Smart animate
  • Ease out: 150ms.

Step 8

  • Copy the card and paste it into the final frame.
  • Duplicate it, change the text, and drop in new photos.

Done!

Now you know how to create a photo-swap animation in Figma. You can use this animation in sections where you need to show several products while keeping the text in place.

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