# Blur, Glow and Soft Shadows in Animated UI: Looks vs Performance

> Blur, glow and soft shadows look great but are some of the most expensive effects to animate, because every pixel near the edge has to be recalculated each frame. Animate them as little as possible: fade a pre-blurred layer instead of animating blur radius, use opacity and transform where you can, limit the blurred area, and test on a mid-range phone.

Updated November 2026. Source: https://www.exodeui.com/learn/blur-glow-effects-performance/

## Key takeaways

- Animated blur and glow are expensive because the work grows with radius and area
- Animate opacity or transform of a pre-blurred layer instead
- Keep backdrop-filter surfaces small and provide fallbacks
- Test soft effects on mid-range devices

## Why soft effects cost so much

A blur combines many neighbouring pixels to produce each output pixel, and the work grows with the blur radius and the size of the area. Animating the radius means repeating that work every frame. Web.dev's rendering guidance explains that properties which trigger paint are more expensive than those the compositor can handle alone, such as transform and opacity.

## Cheaper ways to get the same look

Most soft effects can be faked with cheaper motion:

- Glow: draw the glow once, then animate its opacity or scale
- Shadow on hover: put the larger shadow on a pseudo-element and fade it in, instead of animating box-shadow
- Focus blur behind a modal: blur a static snapshot, or use a translucent overlay
- Feathered edges: use a gradient mask, which is often cheaper than a blur filter

## backdrop-filter and glass effects

Frosted glass panels use backdrop-filter, which blurs whatever is behind the element. When content scrolls behind it, the blur is recalculated continuously. Keep glass panels small, avoid stacking several, and provide a solid fallback for low-power devices and for people who turn on reduced transparency settings.

## In canvas and vector runtimes

Canvas-based runtimes face the same maths. Some renderers implement feathering and blur efficiently on the GPU, but the cost still grows with radius and area. Check effects at the real size and on real devices, and avoid full-screen animated blurs.

## Building this in ExodeUI

In ExodeUI, which we make, the same advice applies: draw glows and soft shadows once and animate their opacity or scale through states, rather than animating blur every frame. Test the component on a mid-range phone with the runtime you will ship, whether React, React Native, SwiftUI or Flutter.

## Frequently asked questions

### Is animating box-shadow bad for performance?

It triggers repaints every frame. Fading a pseudo-element that already has the larger shadow is usually much cheaper.

### Is backdrop-filter slow?

It can be, especially over scrolling content or on large areas. Keep blurred panels small and offer a solid fallback.

### How do I animate a glow cheaply?

Draw the glow once and animate its opacity or scale rather than its blur radius.

### Does the GPU make blur free?

No. It makes it faster, but cost still grows with blur radius and the size of the area.

## Related

- [Best liquid glass UI libraries](https://www.exodeui.com/best-liquid-glass-ui-libraries/)
- [Fix mobile animation stutter](https://www.exodeui.com/learn/fix-mobile-animation-stutter/)
- [Animation and Core Web Vitals](https://www.exodeui.com/learn/animation-core-web-vitals/)
- [Tactile UI and depth](https://www.exodeui.com/learn/tactile-ui-depth-comeback/)
