How to Make a Diagonal Slider in Figma
Do vertical and horizontal sliders feel simple and familiar by now? Well then, it's time to build a diagonal slider in Figma.
Ready to shake up a familiar pattern? Yep, I'm talking about sliders. We're used to seeing cards move horizontally in most interfaces. But how do you stand out and make a design more interesting? That's exactly why in today's tutorial we're building a diagonal slider in Figma.
Step 1: Find Your Photos
For this design, we need high-quality and, above all, stylish photos to work with. I went with a futuristic clothing store theme, and Midjourney will help me generate a few images like that. But if you don't have a subscription yet, you can always look for quality material on free stock photo sites.
- Generate photos or find them on stock sites. I need five in total.
- Add them to Figma.

Step 2: Make Copies of the Photos
We need to copy every photo. This step is essential so that, when we animate the mockup, we can create an infinite slider.
- Make copies of the photos.
- Set them all to the same size: 260×340.
Step 3: Resize the Main Photos
I decided to build a hero section composition where the images don't just move through the slider but also change size. So we need to work on the photo sizes.
- Set the image that will sit at the center of the composition to 490×645.
- Pick two images and set them to 145×190.
- And set the last two to 260×340.

By the way, did you know that you don't have to select each photo separately to resize them quickly? You can select several that need the same changes and adjust them all at once. As a line from one movie goes, “Just look how far progress has come!”
Step 4: Create a Frame for the Interface
Now we need to create a frame where we'll add the photos, arranged according to a certain logic (we'll get to that in a moment), along with the other interface elements.
- Create a 1728×1117 frame.
- Set the fill to #FAFAFA.

Step 5: Add the Photos to the Frame
Now we need to add the photos to the frame. Remember that we also made copies? Those need to go in too, but a bit later. For now, we're working with the main ones.
- Add the photos to the frame.
- Check the placement: the center photo sits a little closer to the top edge of the frame (in my case, the distance between this photo and the frame edge is 216), the 260×340 photos go closer to the left and right edges of the frame, and the smallest ones go on the inner side of the 260×340 photos.

Step 6: Add the Other Content
Let's also add a header, arrow icons and text to our frame. Place the slider arrows at the edges of the center photo. And be sure to check in the layers panel on the left that all of this content sits below the photos we added in the previous step.

Step 7: Add the Photo Copies
The photo copies we made at the start need to go into the frame and be moved up a little.
- Align all the photos so they're stacked on top of one another. It doesn't matter which photo ends up under which, since they'll be outside the frame and will all move from the same point.
- Add them to the frame.
- Set X to -281 and Y to -300.
- Make sure Clip Content is turned on for the frame.
Step 8: Create a Component
Now it's time to add animations. And for that, components with variants are indispensable.
- Turn the frame into a component.
- Create the first variant in the component.

I love working with components, variants and, of course, auto layouts. They don't just save a ton of time; they also help me keep my mockups perfectly organized. And that's no longer about simply pushing pixels around: it's about logic, skill and thoughtful preparation.
Step 9: Set Up the Variant
Now we need to move the photos and change their sizes step by step, in a logical order.
- Move the far-right photo outside the frame.
- Enlarge the small photo next to it to the size of the photo we just moved outside the frame. That is, to 260×340.
- Shrink the large center photo to the size of the small one (145×190).
- Move it to where the small image was.

- Enlarge the small photo on the left to the size of the large one (490×645).
- Move it to where the center image was.
- Shrink the far-left photo to the size of the small one and put it in the small photo's place.
- And into this medium photo's place, bring the copy of the photo that was originally on the far right.
Step 10: Create Several Variants
Create a few more variants until you get one that looks like the very first. In each new variant, move the photos one step, just as we did before.

Step 11: Add the Animation
The animation between variants will run on click. Our interface has no buttons to click, which is why we added the slider arrows. In other words, we need the On click trigger and Smart Animate.
- Choose the On click trigger.
- For the animation, set Smart Animate at 500ms.

And now connect the last variant to the first with an animation to make the slider infinite.
- Choose After delay with 1ms.
- Set the animation to Instant.

It may all seem complicated the first time. But if you follow our tutorials, you'll be able to handle any animation. And you know the most important part? To animate your mockups, you don't need to hunt for third-party services or keep jumping between apps. Everything you need is already in Figma. You can create striking animations and prototypes right there.
Step 12: Create a New Frame
Create a new frame to check the results of our work.
- Create a new 1728×1117 frame.
- Add a copy of the first variant to it.
- And hit Present.
And Our Diagonal Slider Is Ready
Unconventional elements like a diagonal slider are exactly what turn an interface into something special—I'd even say memorable. You can use it on promo sites, landing pages or even in apps. Just be sure to test its usability!
Article updated
.jpg&w=3840&q=75)
%2520-%2520hover.jpg&w=3840&q=75)



