Tutorials3 min read

Create and Animate a Neon Effect in Figma

The neon effect has a firm place among the latest design trends. No wonder—it looks bright and striking. But not every designer knows how to create it quickly in Figma.

A neon effect is a bright glow that gives a design a futuristic vibe. It’s often associated with street signs, clubs, ’80s retro aesthetics, and even cyberpunk. So it won’t suit every digital product. On a website for kids’ products, for example, it would hardly feel at home. But for projects tied to tech, music, or gaming, it’s a perfect fit.

Okay, let’s imagine we need to design the hero screen for an upscale club that throws neon parties. Here, there’s no doing without this effect!

Step 1: Create a Line

Lines are the best way to show off a neon effect. Of course, you can use other shapes too: a square, a circle, a triangle, and so on. Just keep in mind that for those you’ll have to remove the fill and keep only the stroke.

  • Select the Line tool.
  • Draw a line 1920px long with a weight of 6.
  • Pick a color for it. I’ll use a bright red, #F6474B.

My tip: when choosing a palette for a neon effect, go for bright colors. The effect itself will be brighter and easier to notice.

Step 2: Copy the Line

A single line won’t give us good neon: we’d get either an effect that’s barely noticeable in the design or just a blurry line. We need three.

  • Add a Layer blur to the line. The blur value doesn’t matter yet; we’ll set it a bit later.
  • Make two more copies of the line with the shortcut Ctrl (Cmd) + D.
  • Select all three lines and group them with Ctrl (Cmd) + G.

Step 3: Set Up Blur for the Lines

Why did we add Layer blur to the very first line before copying it? So we wouldn’t have to add it to each one now. All that’s left is to set the values.

  • In the layers panel on the left, select the bottom line and set its Layer blur to 40.
  • Select the middle line and set its Layer blur to 30.
  • For the top one, set Layer blur to between 2 and 4.
  • For the bottom and middle lines, choose the Hard light blend mode.

Our neon effect for lines is ready. But let’s face it, staring at a bare shape isn’t much fun. You immediately want to work it into an actual design. So let’s move on to building the hero screen.

Step 4: Create a Frame

  • Create a 1920×1080px frame.
  • Add two photos to Figma. I made mine in Midjourney on purpose so it would be the same woman in both. The first photo has calmer colors, though, while the second is brighter, even slightly neon.

You can find photos for your projects on free stock photo sites, but make sure they’re high quality. After all, who needs pixelated images?

Step 5: Prepare the Photos

The photos we added will be our background and will switch during the animation. So we need to prep them properly and place them in the frame.

  • Place the photo that will change during the animation on top. Align it precisely with the first one (to make this easier, make them the same size).
  • Put them in the frame and fit them to its size (crop the photos where needed).
  • Hide the top photo using Clip content.

Of course, there’s more to do before we can call the photos completely ready. But for this stage, we don’t need to do anything else with them.

Step 6: Add Screen Content

Now we need to add other interface elements to the frame: a header, buttons, icons, text, illustrations, and so on. Important: in the layers panel on the left, all of this has to sit above every other element. Be sure to make the button a component, because at the end we’ll set up a hover animation for it.

On top of that, to make the interface elements easier to see, we need to create two rectangles that darken the edges of the screen.

  • Create a rectangle with a #0A090C fill.
  • Turn the fill into a gradient and adjust it so the edge is darker and the content is only slightly darkened.
  • Copy it and flip the direction in the gradient settings to get a second rectangle for the right side of the screen.
  • Add them to the frame.

Step 7: Add Neon Lines

Shall we add more neon to the design? After all, we made one line, and it’s sadly waiting for its debut.

  • Make 4 copies of the neon line: click it and press Ctrl (Cmd) + D four times. Keep the original we copied from; it’ll come in handy later.
  • Make two of the lines horizontal and two vertical.

Step 8: Adjust the Lines to the Content

And here’s why we made two horizontal and two vertical lines: they’ll intersect at two points.

  • Add all four lines to the frame.
  • Align them with the content.
  • Carefully drag them out past the edges of the frame.
  • Check that they’re no longer visible.

Now, when we set up the animation, we’ll be able to make our lines more dynamic by having them fly in from beyond the frame’s edges.

Step 9: Divide the Frame into 4 Parts

I want even more neon and movement, so now we’ll work with the top photo we hid earlier.

  • Make the top photo visible again.
  • Divide the frame into four equal parts by height. Since our height is 1080 px, that’s 270 px each. To make it easier, I recommend dragging guides from the ruler so the four equal parts are clearly visible.

Step 10: Create Copies of the Top Photo

Why did we divide the frame? We need to turn one photo into four equal pieces so we can animate them. The guides will save us from clicking around at random and adjusting each part by eye.

  • Make three more copies of the top photo with Ctrl (Cmd) + D.
  • Crop each photo in turn, making sure to hold down Ctrl (Cmd) as you do. The four pieces put together should still form a single photo (though we know it’s made up of several fragments, just like interface elements in Atomic design).

Step 11: Add Neon to the Photo Fragments

Remember the neon line we kept, the one I said would come in handy? Well, now’s the time to use it.

  • Make seven more copies of the line with Ctrl (Cmd) + D.

  • Add two to the edges of each photo fragment. A quick way to do this is to stack the lines first: the two outer ones stay single, while on the inside one line sits on top of another.
  • Then move them into the frame, below the rectangles we used for the extra darkening.

Be sure to check that the lines sit right on the edges of the fragments and don’t cover anything important.

Step 12: Group the Lines and Photo Fragments

  • Select a photo fragment and the two lines on its edges.
  • Group them with Ctrl (Cmd) + G.

  • Do the same for every fragment.
  • Group the other elements too, and give them logical names.

Step 13: Hide the Photo Fragments

To animate the pieces of the photo flying in one after another, we need to move the fragments past the edge of the frame. The fastest way is to set the right X value for each one.

  • For the first and third fragments, set X to 1920.
  • For the second and fourth, set X to -1920.

Step 14: Add a Variant to the Button

You did make it a component, right? Now we can add variants to it and set up the hover animation.

  • Add a component variant to the button.
  • On hover it will glow, so I need to add two Drop shadow effects to the second variant.

Step 15: Hover Animation for the Button

Now we have two variants and can set up a hover animation between them.

  • Switch to Prototype mode in the right panel.
  • Between the variants, set up a While hovering interaction with Smart animate. I set the duration to 300ms.

Step 16: Create a Component from the Frame

To quickly set up the connections for the animation and edit them when needed, we need to turn the frame into a component with variants.

  • Create a component from the frame.
  • Create a variant of this frame within the component.

Step 17: Prepare for Animation

Now it’s time to bring out the fragments of the photo (the one we split into four), one at a time.

  • In the first variant of the component, move the first and third fragments back into place.
  • Duplicate this variant, and in the new copy, move the second and fourth fragments back.

Step 18: Finishing Touches

Remember the four lines we added at the start and moved past the edges of the frame? Now we need to add them to the last variant.

  • Duplicate the last variant (still in the same component) and select the neon lines in all the photo fragments.
  • Drag them left, past the edge of the frame, so they’re out of sight.

  • Bring the four neon lines back into the frame (the two horizontal and two vertical ones) and align them with the content.

Step 19: Add the Animation

All that’s left is to set up the animation between the variants and choose the optimal speed.

  • Between the first slides, add the animation via the button.
  • Set On click with Smart animate, at 300ms.

  • Between the other variants, set up an After delay animation.
  • Use a Delay of 1ms, with Smart animate at 300ms.

Step 20: Create a New Frame

Create a new frame to check the results of our work.

  • Create a new 1920×1080 frame.
  • Add a copy of the first variant to it.
  • And hit Present.

Our Animated Neon Effect Is Ready

Now we can admire the results of our work. And most importantly, tell ourselves with confidence: “Yes, now I can create neon in Figma, and animate it beautifully too.”

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