Apply shadow or blur effects
If you're using UI3, Figma's new design, some parts of this article might not match what you see in the product today. We appreciate your patience while we make updates. Learn more about Figma’s redesign →
Before you start
Who can use this feature
Supported on any team or plan
Users with can edit
access to a Figma Design file can create and adjust effects.
Shadow and blur effects can serve various aesthetic and functional purposes. For example, adding a shadow to a button can bring attention to it and signal that the element is interactive.
In Figma, there are four types of effects:
- Drop shadow
- Inner shadow
- Layer blur
- Background blur
In Figma, one layer can have up to eight drop shadows, eight inner shadows, one layer blur, and one background blur to a layer.
You can also combine shadows and blurs with blend modes and paint fills to create a variety of styles and effects.
Caution: Depending on your device and internet connection, files with a large number of blur effects can lead to reduced performance. Background blurs are typically the slowest effect to render.
To temporarily improve performance, you can toggle the visibility of individual effects. You can also permanently rasterize layers, which will reduce their rendering time.
Rasterizing layers is an irreversible and lossy process, meaning some vector data will be lost during the conversion.
Shadow effects
There are two types of shadow effects in Figma: drop shadow and inner shadow.
Tip! Both shadow effects translate to the box-shadow
property in CSS. Shadow effects on text layers translate to text-shadow
in CSS. View CSS properties for your selection in Dev mode.
Drop shadow
Drop shadows are a great way to add depth and dimension to your designs. You can do this by creating the shadow of an object on a surface behind it.
Drop shadows can vary in opacity, depending on the effect you want to create.
Use drop shadows to:
- Create distance between objects
- Set the direction of a light source
- Make your designs stand out against a background
- Make objects look three-dimensional
- Stylize text and icons
- Add borders around a layer or object
Inner shadow
Like drop shadows, inner shadows allow you to create depth within two-dimensional designs.
Instead of creating a shadow behind your selection, inner shadows are applied within the layer or object. This contains the shadow within the layer's bounds.
Use inner shadows to:
- Create depth within text
- Make an object look recessed or indented
- Show an active or clicked state of a button
Tip: Preview effects on the canvas by hovering over each option in the menu before selecting.
Show drop shadows through transparent layers
By default, Figma doesn't display drop shadows through transparent areas of the layer. If you want to display drop shadows through an object:
- Make sure the layer meets at least one of the following criteria:
- Has only fills with less than 100% opacity
- Has a stroke, but no fill
- Has a fill or stroke with a blend mode that isn't Normal
- Or, has a center or outside stroke with less than 100% opacity
- Click the effects icon to open the shadow's property menu.
- Check the Show behind transparent areas checkbox.
Note: Inner shadows don't support show behind transparent areas.
Shadow spread
Shadow spread is only supported on rectangles, ellipses, frames, and components.
To apply a spread shadow to a frame or component, you must have:
- Clip content enabled
- A visible fill with at least 1% opacity
Caution: The Figma Plugin API allows you to set a spread value for any object. Figma will not apply the spread value in the canvas, if spread isn't supported on that type of object.
Add shadow effects
Note: Figma will add new effects to the top of Effects section in the right sidebar.
As it's not possible to re-order effects, we recommend adding effects in the order you want them to appear. See: Effect render order.
You can apply shadow effects to frames, groups, components, or individual layers.
- Select the layer or object from the canvas or Layers tab of the left sidebar.
- Click the Effects section in the right sidebar. The Drop shadow effect is selected by default. Use the dropdown to switch to Inner shadow.
- Click the Effect settings icon to adjust the shadow's settings.
- X: Offset the drop shadow along the x axis (horizontal). Use with Y offset to set the direction of the light source.
- Y: Offset the drop shadow along the y axis (vertical). Use with X offset to set the direction of the light source.
- Fill: Apply a paint using the color picker and set an opacity for the shadow
- Blur: Adjust the blur or feathering of the shadow. Increase the blur to soften the shadow and blend it with the background. Decrease the blur to create a sharper contrast.
- Spread: Adjust the size of the shadow to represent the distance between the foreground and background objects. See: Shadow spread.
Tip! You can copy a layer's effect settings to paste on another layer or object from the Effects section of the right sidebar.
- Click the Effect settings icon, then press Esc to clear the field selection.
- Use the keyboard shortcut to copy the settings:
- Mac: ⌘ Command C
- Windows: ⌃ Control C
- Select the layer or object you'd like to apply the effect to and paste using the keyboard shortcut:
- Mac: ⌘ Command V
- Windows: ⌃ Control V
You can also duplicate the effect using the keyboard shortcut:
- Mac: ⌘ Command D
- Windows: ⌃ Control D
Blur effects
Layer blur
Blurs help to imply action or movement, or create the illusion of depth in two-dimensional designs. Use layer blur to:
- Anonymize information
- Soften or detract focus from the background
- Create abstract backgrounds from photographs and images
- Replicate camera depth and other photographic effects like bokeh
Background blur
When you apply a background blur to a layer, Figma will blur any layers behind your selection on the canvas. You can think of this like a drop shadow, but instead of the layer creating a shadow, it creates a blur.
You can use background blur to soften or detract focus. This draws attention away from the background and to the selected layer.
Background blur is commonly used for interactive menus in iOS. But you can also use background blur to obscure text or personal information in a screenshot.
To see a background blur, your selection will need to have an appropriate opacity. You can set opacity for layers with background blur for any value between .10 and 99.99%.
You may have to adjust the opacity of your layers to get the desired effect. If you set a layer's opacity to 100%, you won't be able to see the background blur at all.
Note: It's only possible to add one layer or background blur to a layer or object.
If you have other layers with background blur applied, Figma will ignore them instead of multiplying the existing background blur.
Apply blur effects
You can apply blur effects to frames, groups, components, or individual layers. It's only possible to add one layer or background blur to a layer or object.
- Select the layer or object from the canvas or Layers tab of the left sidebar.
- Click the Effects section in the right sidebar. The Drop shadow effect is selected by default. Use the dropdown to switch to Layer Blur or Background Blur.
- Click the Effect settings icon to adjust the blur value.
- Adjust the layer opacity, if needed.
You can also create Styles for shadow and blur effects. This allows you to save those settings and use them across your design files. Learn how to create effect styles →
Render order
Figma will add new effects to the top of the Effects section of the right sidebar. As it's not possible to re-order effects, we recommend adding effects in the order you want them to appear.
The order Figma renders effects depends on whether your selection is a layer or a group. Masks are also considered groups under this context.
The differences in group and layer shadows are most obvious on layers that overlap. When the shapes don’t overlap, they will appear the same.
Layers
- Layer blur (top)
- Stroke paints
- Inner shadow
- Fill paints
- Drop shadow
- Background blur (bottom)
Groups
- Layer blur (top)
- Inner shadow
- Paints, masks, and effects for individual fills or strokes
- Drop shadow
- Background blur (bottom)