Docs
Shaders: animated fills
Add animated mesh gradients, liquid metal, fluted glass, grain, halftone and swirl fills to any frame or shape, tune them, and export them still or moving.
Shaders are animated fills that run on your graphics card. Put one on a frame, rectangle or ellipse and it moves on the canvas, in previews and on the sites you build. There are six: mesh gradient, liquid metal, fluted glass, grain gradient, halftone and swirl.
Add a shader
- In Pro mode, select a frame, rectangle or ellipse.
- In the inspector, find Shader and pick one of the six tiles. Each tile is a live preview.
- The layer's fill stays as a fallback colour, so the design still reads anywhere a shader can't run.
In Simple mode, open Elements and choose one of the Animated backgrounds. It is added as a full-page layer behind your design.
The six shaders
- Mesh gradient: four colours that drift and blend into each other. A calm background for heroes and covers.
- Liquid metal: smooth, reflective bands that flow like chrome. Good behind a single headline.
- Fluted glass: colour seen through ribbed glass, with soft vertical refraction.
- Grain gradient: a slow gradient with film grain, for a printed, tactile feel.
- Halftone: moving dots in two colours, paper and ink, like a printed screen.
- Swirl: colours twisting around the centre.
Tune it
- Colours: up to four swatches (halftone uses two: paper and ink). Click a swatch to change it.
- Speed: how fast it moves. Set it to 0 for a still.
- Scale: how large the shapes, bands, ribs or dots are. It's called Detail, Flutes, Dot size or Arms on some shaders.
- Amount: the main effect strength. What it controls depends on the shader, and the label changes to match: Warp, Flow, Refraction, Waves, Density or Twist.
- Grain: film grain on top. Turn it up for texture, down for a clean finish.
- Pause on this frame: freezes the shader at the moment you like, so it stays still everywhere.
To take a shader off, choose Remove. The layer goes back to its plain fill.
Text on shaders
Shaders move, so contrast changes over time. Keep text above the shader layer, pick colours that keep enough contrast across the whole animation, and pause the shader if a headline needs a fixed backdrop.
Exporting
- PNG, JPG, SVG and PDF capture the shader as a still image at that moment (or at the paused frame).
- MP4 records the shader moving, together with the motion you choose. See Video export.
- Build and HTML keep the shader animated in the page with a small script, and a still image as the background in case WebGL is off.
- Handoff and React show the fallback fill and a still, so developers can see the intent.
Shaders with Claude
Claude can add and change shaders in your files through Design with Claude. Ask for something like "put a slow mesh gradient in our brand colours behind the hero" and it sets the shader on the layer for you. See Design with Claude.
Performance
All shaders on a page share one graphics context and update about 30 times a second, so a few on screen stay light. On older machines, use fewer large shaders or pause the ones that don't need to move.
Next
Layers, groups, locking and hiding