Create a 3D Rotation Animation in Figma
Sometimes you look at your work and realize it doesn’t need a pinch of spice, it needs a whole handful. So why not add an eye-catching rotation animation?
Animation in design is a topic that never gets old. How often do you google how to build this or that interaction, which animations are trending right now, and so on? Where on earth do you find that one resource that walks you through everything step by step and shows it with real examples?
Hey, you’re already here! Today we at Nexfield Academy will show you how to create an eye-catching 3D rotation animation that brings more motion to your design. Everybody got Figma open? Then let’s go.
Step 1: Prepare the Main Image
The main image in our design will be a bottle of wine. But you don’t have to use a bottle; a soda can works too, for example. Everything works the same way, but there are two things to keep in mind in every case: the image has to be high quality (no pixelated areas) and have no background (that is, cut out if it had one).
- Add the wine bottle to our Figma design project.
- With the Pen tool, carefully trace the edges of the label on the bottle to create a rectangle (even if it’s a slightly uneven one).
Step 2: Prepare Components for the New Label
We can’t leave the bottle like this. We need to add new labels that the animation will swap later. You can find them on free stock photo sites or make your own. To keep things fast and convenient, I recommend using components.
- Upload two bottle labels to Figma.
- Select them and create a Component set.
- And name them, so you don’t get lost in the animation and layers later on.
Step 3: Create a Mask
Okay, we have a bottle and two photos; time to put them together. How? Use a mask with two objects selected: the label and the rectangle we drew (careful: not the bottle itself).
- Copy one of the variants of the label component.
- Select it together with the rectangle we created at the start.
- Create a mask and, under Blend Mode (look in Appearance), choose Multiply so the new label looks like it was always there.
- Select all the elements and group them.
Step 4: Create a Frame and Fill
How would we set up a cool 3D animation without a frame? And of course we need to pick a color palette and a background for the design.
- Create a 1920×1080 frame.
- Add a separate rectangle the same size as the frame. Pick a fill color and duplicate it with the shortcut Ctrl (Cmd) + D. “Why make a copy?” you ask. The animation needs it to work properly. Don’t worry, we’ll come back to it.
Step 5: Add Content to the Frame
You can prepare it in advance or create it at this stage. For our interface we’ll need a button, a header, a headline and a photo of grapes (remember, we have a bottle of wine, so the theme should match).
- Add the bottle, headline, illustrations and header with the button to the frame.
- Check the alignment and all the spacing. We’re not just making a pretty animation; as designers we also keep an eye on all the UI fundamentals and UX.
Step 6: Group the Elements
Here it’s important not to mess up the layers after grouping, so every element shows up as it should and nothing gets covered by something else. Let’s begin.
- Group together the headline, the bottle (which is itself a separate group of elements) and the illustrations behind it.
- But the button and header must stay separate! Don’t include them in this group.
Step 7: Create a Mask for the Content
Remember we said above that you need to make a copy of the rectangle that serves as our background? Now it’s time to use it to create a mask. It will help hide the slide’s content during the animation.
- Select this rectangle and the group of elements (headline, bottle, text, photo) and create a mask.
- Check that everything displays correctly and the mask was created properly (the group should sit higher in the layers and the rectangle lower).
- Name the mask group so you don’t get confused later. In my case it’s “Champagne.”
Step 8: Copy the Mask Group
We started with two labels, so the animation needs two screens to show them switching. But we don’t need a separate frame for that; we need a copy of the mask.
- Select the mask group we created last (the rectangle with the content group) and duplicate it with the same shortcut, Ctrl (Cmd) + D.
- Give the group a different name right away. I called mine “Sparkling,” for example. That way we won’t mix up which mask is which and what needs changing where.
Step 9: Adapt the Content to the New Mask Group
Now, in the new group, we need to set everything up to match the style of the other label: write the names and copy, replace the photo and so on.
- Hide the top group.
- Swap the label on the bottle through the components.
- Change the background color, text and photo.
- BUT leave the header and button as they are.
Step 10: Prepare the Screen Components
To set up the animation comfortably, we again need our trusty helpers: components.
- Select the whole frame and create a component from it.
- Create a variant in the same component.
- Give the variants clear names to avoid confusion.
Step 11: Adjust the First Screen Elements
I’d say we’ve now reached the stage of building the animation logic. You need to think through what appears after what and how it will work, so nothing gets missed.
- Hide the top group of elements in the first variant. We don’t need it for now.
- Move the illustrations to the left, as close to the edge of the frame as possible.
- Move the headline to the left too, completely outside the frame.
Step 12: Scroll the First Screen Label
We’re still in the same group of the top variant. All that’s left is to change the label.
- Select the photo in the label’s mask group and scroll it to the right.
- Unhide the top mask group and move on to the second variant.
Step 13: Adjust the Second Screen Elements
Now we need to change the second screen. But while in the first variant we hid the top mask group and worked with the bottom one, here we need to work with the top one.
- Move the illustrations to the right, as close to the edge of the frame as possible.
- Move the headline to the right too, completely outside the frame.
Step 14: Scroll the Second Screen Label
Here, too, only the label is left to change.
- Select the photo in the label’s mask group and scroll it to the left.
- Select this mask group’s rectangle and move it to the right. Be careful here: move it, don’t squeeze or shrink it; just shift its position.
Step 15: Set Up the Animation
The button will be the trigger for our animation. Clicking it switches the screens, and that’s when we see the interactive changes.
- Add an animation to the button: On click with Smart animate, and set the speed. I went with 800ms.
- Add the animation in the reverse direction too, from the second screen, via the button.
Step 16: Create a New Frame
Why another one? Well, how else will you see the result of your work? Since we built everything with components, we need a new frame to test our decisions, in case something broke.
- Create a new 1920×1080 frame.
- Add a copy of the first variant to it.
- And hit Present.
Enjoy the Result of Your Work
Now you can add this eye-catching animation to your toolkit and use it in one of your projects.
Article updated
.jpg&w=3840&q=75)
%2520-%2520hover.jpg&w=3840&q=75)



