Skip to main content
ExodeUI

EXODEUI DESKTOP

A little space for good ideas.

Choose your platform to get the official ExodeUI installer.

Looking for Intel Mac or other builds? Explore the web studio or check all download options.

Prefer the browser? Try for free in your browser →
Performance1 min read·Updated November 2026·By the ExodeUI team

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

Why animated blur, glow and soft shadows are expensive to render, which techniques are cheaper, and how to keep soft effects smooth on mid-range phones.

Direct Summary & Definition

Core Takeaway

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.

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.

Key Principles to Remember

  • 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

Frequently Asked Questions

Sources

  1. Rendering performance — web.dev
  2. filter — MDN Web Docs
  3. backdrop-filter — MDN Web Docs

Related Guides & Examples

Smooth motion, real devices

Open interactive components and check how they run on your own phone.

Browse components
Try for free