Web Design » Figma » How Do I Add a Slider in Figma?

How Do I Add a Slider in Figma?

Last updated on January 2, 2023 @ 8:07 am

Figma is a great tool for creating designs for websites and apps. One of the best features of Figma is that you can add a slider to your design.

This allows you to create a more interactive and responsive design.

To add a slider in Figma, first, create a rectangle using the “Rectangle shape tool” which will serve as the track of your slider.

Next is to create another small rectangle track with the same height but with a small width. Also, add color to your small track using the “Fill” section.

Now, add a circular handle to your slider using the “Ellipse shape tool” in the upper toolbar.

Then, add color to your handle using the “Fill” section and also a drop shadow using the “Effects” panel.

NOTE: This will add a realistic effect to your slider design.

Once done, create a copy of your frame by pressing the keyboard shortcuts “Ctrl+C” to copy and “Ctrl+V” to paste.

The next step is to set the handle in your Frame 2 slider to its maximum in the track. To do this, just click and drag on the handle until it reaches the end of the track. However, make sure that the handle is still aligned with the original position to create a smooth animated effect.

NOTE: You can also opt to just input the “X-axis” position of where you want the slider to be for better accuracy. You can use the ruler at the top of the page as a guide for this.

PRO TIP: Adding a slider in Figma is a relatively simple process, but there are a few things to keep in mind. First, make sure that the layer you want to use for the slider is selected. Next, create a slider using the shape tools available in the toolbar. You can design your slider to your preference, however, keep in mind to always check if your transitions are properly aligned with the original one to create a smooth animated effect.

Now, still in Frame 2, adjust the width of the small track that you created earlier and set it to the same width as the long rectangular track. In this case, that would be 229.

Once done, we can now start creating the animation flow of the slider. To do this, select the “Prototype” tab in the right menu and hover over the handle in Frame 1 until the “+” icon appears.

Connect the handle in Frame 1 to Frame 2 to create the first animation where you slide the handle of the slider to the right. In the “Interaction details” window, select the “On drag” and “Smart animate” options.

For the next animation, connect the handle in Frame 2 to Frame 1 and select “On drag” and “Smart animate” for the Interaction details. This will let you slide the handle to the left and go back to its original form.

Once you’re finished with the prototype, click on the “Play” icon at the top-right corner of the page.

And there you have it! You can now add a slider to your Figma design!


Madison Geldart

Madison Geldart

Cloud infrastructure engineer and tech mess solver.