Skip to main content

Glassmorphism

UI Design

What is Glassmorphism

Glassmorphism is a visual style that makes interface panels look like frosted glass. It uses translucency and background blur, usually over colorful gradients or images, so the content behind a panel shows through softly.

Characteristics of Glassmorphism

  • Translucent panels: Semi-transparent backgrounds
  • Background blur: Content behind the panel is blurred
  • Layering: Panels float above a busy or colorful background
  • Light borders: Thin edges that catch the light

How to create Glassmorphism

In CSS, use backdrop-filter with a blur on an element that has a semi-transparent background. Platforms have their own glass materials, such as Microsoft Fluent Acrylic, Apple materials and Apple's Liquid Glass, introduced in 2025.

Accessibility considerations

Text on glass changes contrast as the background behind it changes. Check text contrast over every possible background, use more blur on busy images and respect the system setting to reduce transparency. Use glass for supporting surfaces, not for long text.

Frequently asked questions

How do you make glassmorphism accessible?

Check text contrast over every background the panel can sit on, add more blur over busy backgrounds, and respect the system setting to reduce transparency.

What is the difference between glassmorphism and neumorphism?

Glassmorphism uses translucency and background blur, like frosted glass. Neumorphism uses solid surfaces with soft light and dark shadows, so elements seem pressed into the background.

How do you create glassmorphism in CSS?

Use the backdrop-filter property, for example with a blur, on an element with a semi-transparent background. The effect applies to everything behind the element.