How To Make Gradient In Figma

If you’re a digital designer, you’re probably no stranger to Figma. This vector graphics editor and prototyping tool is an essential for anyone looking to create stunning, professional designs. One crucial aspect of graphic design that you may need to implement is the use of gradients. In this blog post, we’ll walk you through the steps on how to make gradient in Figma.

What is a Gradient?

In the realm of graphic design, a gradient refers to a gradual blend from one color to another. This can be between two different shades of the same color, or entirely different colors altogether.

Creating a Gradient in Figma: The Steps

Here’s a step-by-step guide on how to create a gradient in Figma:

Step 1: Launch Figma and Create a New File

First things first, launch Figma on your desktop or in your browser and create a new file.

Step 2: Draw a Shape

Next, draw a shape on your canvas. This will serve as the base for your gradient. For this example, let’s use a rectangle.

Step 3: Select the Fill Tool

With your rectangle selected, navigate to the properties panel on the right side of the screen and find the ‘Fill’ option. Click on it.

Step 4: Choose Linear Gradient

In the fill settings, you’ll see several options for fill types. Click on the ‘Linear’ option to create a linear gradient.

Step 5: Adjust Gradient Colors

Once you’ve selected the linear gradient, you’ll see a line across your shape with two points. Each point represents a color in the gradient. Click on each one and choose your desired colors.

Step 6: Adjust Gradient Direction

Next, you can adjust the direction of your gradient by clicking and dragging the line to your preferred angle.

Step 7: Adjust Gradient Opacity

Finally, you can adjust the opacity of each color in your gradient by clicking on the color and adjusting the opacity slider.

And voila! You have created a gradient in Figma.

        // Sample code to create a gradient in Figma
        const rectangle = figma.createRectangle();
        rectangle.fills = [{
            type: 'GRADIENT_LINEAR',
            gradientTransform: [[0, 1, 0], [-1, 0, 1]],
            stops: [
                {color: {r: 1, g: 0, b: 0}, position: 0},
                {color: {r: 0, g: 1, b: 0}, position: 1}

Wrapping Up

Figma’s gradient tool is a powerful feature that can add depth and dimension to your designs. It’s easy to use and offers a variety of customization options, allowing you to create exactly the gradient you want. With this step-by-step guide, you should now be well-equipped to create your own gradients in Figma.

Happy designing!