Shaders are currently in open beta. Features may change and you may experience performance issues as we continue to improve shaders. Learn more about what's included in the beta.
Before you Start
Who can use this feature
Available in Figma Design
Anyone with edit access in a design file can find and use shaders.
Figma uses WebGL to render shaders. Make sure your system and browser meet the minimum requirements.
Shaders are visual effects you can apply to layers in a Figma Design file, either as fills that generate patterns, gradients, and textures, or as effects that modify how an existing layer looks. This article covers how to find shaders and apply them to your layers.
To learn how to build your own, see the quick start guide to generative plugins and shaders.
Shader fill
A shader fill replaces a layer's standard fill with a custom visual effect that’s generated by the Figma agent. Use shader fills for standalone visuals like patterns, gradient meshes, noise textures, and procedural backgrounds.
Apply a shader fill
Shader fills can be applied to fill and stroke properties from the Design panel in the right sidebar.
You can stack multiple shader fills on top of one another in the Fill section, and combine them with solid, gradient, or image fills. Any combination of fills can be saved as a style and published to your team library.
To a fill property
- Select the layer you want to apply a shader fill to.
- From the Design tab in the right sidebar, find the Fill section.
- Click the color chit to edit the existing fill, or click Add fill to add a new one.
- Click the Shader fill icon.
- The Shader fills panel will appear, where you can select an existing shader fill or create a new one.
To a stroke property
- Select the layer you want to apply a shader fill to.
- From the Design tab in the right sidebar, find the Fill section and click Add stroke.
- Click the Shader fill icon in the pop-up panel.
- The Shader fills panel will appear, where you can select an existing shader fill or create a new one.
Edit a layer’s shader fill
- Select the layer.
- From the right sidebar, go to the section for the property you want to edit and click on the shader fill’s chit.
- Use the dropdown to choose a different shader, or click Add shader to create a new one with agent. Learn more about building plugins with the Figma agent.
Shader effect
A shader effect modifies how an existing layer renders — applying treatments like color shifts, distortions, grain, halftones, or blurs on top of the layer's existing appearance. Unlike shader fills, shader effects reference the layer's current pixels as input, so the result changes depending on what the layer looks like.
Multiple shader effects can be stacked in the Effects section and combined with other effect types. Any combination of effects can be saved as a style and published to your team library.
Apply a shader effect
- Select the layer you want to apply a shader effect to.
- From the Design tab in the right sidebar, find the Effects section and click Add effect.
- From the dropdown, select the Shader effect icon.
- The Shader effect panel will appear, where you can select an existing shader effect or create a new one.
Edit a layer’s shader effect
- Select the layer.
- From the right sidebar, go to the section for the property you want to edit and click on the chit.
- Click the Shader effect or Shader fill icon.
- Use the dropdown to choose a different shader, or click Create shader with agents. Learn more about building shaders with the Figma agent.
Receive updates on a shader
If there is an update on a shader that’s being used on a layer, you’ll see an Update to latest version icon in the shader’s control panel.
Want to see how shaders work across Motion, Figma Draw, and your design system? See the quick start guide to generative plugins and shaders.
Use shaders built by Figma
Figma provides a library of ready-to-use shader fills and effects you can apply to your designs.
To browse and use them:
- From a Figma Design file, click the Tools tab in the navigation bar.
- Open the Source dropdown and select From Figma.
- Click the Filter icon next to the search bar to narrow results to Shader fill or Shader effect.
FAQ
What is clip to shape?
The Clip to shape option is available on texture and noise effects. Enabling clip to shape will contain the texture effect within the layer’s boundary. Disabling it will allow the texture to bleed outside the edges of the layer.
Clipping applies do not apply to drop shadows. If you have a drop shadow on the same layer, it will still interact with the clipped texture and produce a textured shadow at the edge.
Tip: If you want a noise or texture effect to reach the edge of a drop shadow, place a layer blur or an unclipped texture between the noise effect and the drop shadow in the effects stack. Noise and clipped textures can extend past a layer's boundary when stacked above a layer blur or unclipped texture.