07.08 · Ambient & Background

Breathing / Pulsing Glow

A soft glow slowly grows and shrinks, like calm breathing. Best for idle states.

Watch it

It moves by itself. Pause it to look closely, or turn on slow motion to see each part of the movement.

Rest state

Try it

Change a setting and see the difference as it moves.

Speed

Four to six seconds feels like a calm breath.

How much it grows

Big swings look alarming rather than calm.

Glow color

The color of the glow.

More optionsFewer options

Glow size

How big the glow is before it grows.

A larger, fainter glow breathes out of step.

The icon and its title swell very slightly each breath.

Copy the prompt

Paste it into an AI assistant such as ChatGPT, Claude or Cursor to build this in your own project.

Add a breathing glow behind [the icon or element that should look alive but at rest]. Place a soft, round, blurred glow of color behind it, and make it slowly grow and brighten, then shrink and dim, over and over, easing gently at both ends like a calm breath. Four to six seconds a breath feels relaxed; much faster feels anxious. When the settings include it, let the element itself swell very slightly with the glow. If the visitor has reduced motion turned on, keep the glow still. Match the settings listed below.

Replace the words in brackets with your own element. Your settings are added at the end.

Free and open source. If this helped, a star on GitHub helps other people find it.

Star on GitHub

What it is

The full explanation is in README.md.

Good for

  • Idle states
  • Voice assistants
  • Meditation apps
  • Media players

Avoid on

  • Alerts
  • Busy screens