Tutorials1 min read

How to Make a Flashlight Effect in Figma

In this tutorial, we’ll walk step by step through creating a flashlight glow on text on hover.

Step 1

  • Create a frame with a dark fill, #212121.
  • Add the design elements.

Step 2

  • Outside the frame, type the main text.
  • Fill the text with a linear gradient, #212121–#2F2F2F.
  • Duplicate the text layer (Ctrl+D) and click Use as mask (Ctrl+Alt+M).
  • Move the text and the mask group into the frame.

Step 3

  • Outside the frame, create an ellipse and add a Layer blur of ~100.
  • Duplicate the ellipse and change its opacity to 0%.

Step 4

Select both ellipses and create a component set. Connect the components with these settings:

  • While hovering
  • Smart animate
  • Linear 100ms.

Step 5

  • Copy the first ellipse variant and duplicate it (Ctrl+D) to build a grid the size of our text.
  • Move the resulting grid into the frame, inside the mask.

Done!

Now you know how to create a flashlight effect in Figma. This animation is a great fit for hero sections, and it can run on hover or automatically if you switch the animation settings to After delay.

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