Color & Effects
Blur and glass
Blur softens. A layer blur softens the thing itself; a background blur softens what lies behind it, as frosted glass does; glass adds the bend of light at the edge of a pane. Used with restraint they give a design depth and air. Used everywhere they make it slow and vague. This article shows the four effects, then three recipes.

The four effects#
| Effect | In the tools | What it blurs | Drawn on |
|---|---|---|---|
| Layer blur | layer_blur | The node itself, with everything in it | Any node |
| Background blur | background_blur | What lies behind the node, seen through its fills | Frames, rectangles and ellipses |
| Glass | glass | What lies behind, frosted by blur and bent at the edge | Frames and rectangles |
| Noise | noise | Nothing: it lays a fine grain over the fills | The node's fills |
A background blur only shows through a fill that lets it: give the node a fill of white or black at 10–70%. A fully opaque fill hides the blur; no fill at all shows the blur bare.
- Select the node. In Effects, click +, then choose Layer blur or Backdrop blur from Kind.
- Set Blur.
- For a background blur, lower the opacity of the node's fill in Fill until the blur shows through.
Glass and noise are added by an agent. Once they are there, the inspector lists them in Effects like the rest: glass with Blur, Edge and Bend, noise with Size and Amount.
Glass#
Glass has three numbers: blur (0 is clear glass, 12–16 is frosted, 30 is heavy frost), depth (how wide the band at the edge is where what lies behind is bent; 12 by default) and refraction (how strongly it is bent, 0 to 1; 0.5 by default).

Glass is at its best over something colorful with shapes in it: a photo, a gradient backdrop, an illustration. Over a flat color there is nothing to bend, and it reads as a plain translucent box.
A blur that differs across a node#
A layer or background blur can grow across its node: from is the blur at the edge it starts from, blur the blur at the far edge, and direction which way it grows: down (the default), up, left, right, or degrees clockwise from the right. A background blur from 0 to 24 downward at the foot of a scrolling list lets the content melt into the tab bar instead of being cut by a line.
{"type": "background_blur", "from": 0, "blur": 24, "direction": "down"}
Noise#
A wide, smooth gradient can show bands on some screens. A faint grain hides them and gives the surface a printed, tactile feel. Start with {"type": "noise", "color": "#FFFFFF26", "size": 1, "density": 0.5}: white at 15%, grains of one unit, half of them painted. On a light surface use a dark grain instead, such as #0B0D121A.
Recipe: a frosted navigation bar#
A bar that floats over the page as it scrolls, showing the color of what passes under it.

Make the top navigation bar frosted: white at 60%, a background blur of 24, and a hairline under it.
The agent calls update_nodes on the bar:
{
"changes": [{
"id": "6:2",
"fills": [{"color": "#FFFFFF", "opacity": 0.6}],
"effects": [{"type": "background_blur", "blur": 24}],
"stroke": "#0B0D1214", "stroke_widths": [0, 0, 1, 0]
}]
}Use 60–75% white on a light page and #0B0D12 at 55–70% on a dark one. Keep the bar's text at full strength: the background changes under it, so the contrast has to hold over the worst of it.
Recipe: a glass card over a colorful backdrop#

Put a frosted glass card, 300 × 200 with 28 corners, over the hero image: white at 12%, a thin white edge, and a soft shadow.
The agent calls create_nodes:
{
"nodes": [{
"kind": "frame", "name": "Glass card", "x": 60, "y": 70, "width": 300, "height": 200, "corner_radius": 28,
"fills": [{"color": "#FFFFFF", "opacity": 0.12}],
"stroke": "#FFFFFF59", "stroke_width": 1, "stroke_align": "inside",
"effects": [
{"type": "glass", "blur": 16, "depth": 14, "refraction": 0.6},
{"type": "drop_shadow", "x": 0, "y": 16, "blur": 40, "color": "#12082E59"}
]
}]
}The thin white edge at 35% is what makes glass read as glass. A rim from Lighting & Depth does the same with light from one side. Keep text on glass white and large enough to read over the brightest part of the backdrop.
Recipe: a glow#
A glow is light, not a shadow. There are two ways to make one.

- A radial gradient that fades to transparent: an ellipse larger than the thing, filled from its color at 60% in the middle to the same color at 0 at the edge. It needs no blur at all. Use it for status lights, spotlights behind a product shot, and soft halos.
- A blurred copy behind the thing: an ellipse of its color at about 75% with a
layer_blurof 28. Use it where the glow must follow a shape that is not round, such as a wide button.
Put a soft green glow behind the status dot, without a blur.
The agent calls create_nodes, placing a 120 × 120 ellipse under the dot:
{
"nodes": [{
"kind": "ellipse", "name": "Glow", "x": 0, "y": 0, "width": 120, "height": 120,
"fill": {"gradient": "radial", "stops": [{"offset": 0, "color": "#19E3A199"}, {"offset": 1, "color": "#19E3A100"}]}
}]
}Every large blurred layer costs time each time the canvas is drawn. A frame with many of them, such as a hero with ten blurred blobs or a list where every row has a glow, slows down as it grows. Prefer a radial gradient for glows, keep blurred backdrops to four or five shapes, and blur one layer behind many things rather than each thing.