06.06 · 3D & Advanced

Glassmorphism Animated

Frosted glass cards blur the colors behind them. Best for cards and panels.

Watch it

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

Still
Fixed frost
The blur stays the same.
Animated
Breathing frost
The blur grows and fades.
Shifting
Shifting tint
The tint keeps changing.

Try it

Change a setting and see the difference as it moves.

Frost

How strongly the glass blurs what is behind it.

Tint strength

How much color the glass adds.

Speed

How fast the colors drift behind the glass.

More optionsFewer options

Tint color

The color of the glass.

The middle card's blur grows and fades.

The right card slowly changes color.

Copy the prompt

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

Add frosted glass to [the cards or panels you want to style]. Give each card a see-through tinted background, blur whatever sits behind it, and add a thin light edge. Put colorful shapes that drift slowly behind the cards, with a faint pattern of dots over them, because glass over plain color looks gray and shows no frost. Put a see-through dark layer inside each card under its text so the words stay readable. A card can also breathe, its blur growing and fading, or slowly change its tint. Blurring costs a lot, so keep the glass to small cards and blur the shapes less on phones. If the visitor has reduced motion turned on, keep everything 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

  • Cards and panels
  • Dashboards
  • Modals
  • Navigation bars

Avoid on

  • Plain backgrounds
  • Large surfaces