Glassmorphism
UI DesignWhat 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.
Related terms
View all UI Design terms →Neumorphism
Neumorphism, also called soft UI , is a visual style where elements seem to be pressed into or raised from the background. The name mixes…
Flat Design
Flat Design is a minimalist design approach that emphasizes simplicity by removing decorative elements like gradients, textures, and…
Skeuomorphism
Skeuomorphism is a design principle where digital interfaces imitate the appearance and behavior of real-world objects. It uses familiar…
Accessibility
Accessibility in UX design refers to creating digital products that can be used by everyone , including people with visual, motor…
Modal
A Modal (also known as modal window or dialog box) is a secondary window that appears on top of the main interface, temporarily…
Visual Hierarchy
Visual hierarchy is the order in which the eye moves through the elements on a screen. Designers set it with contrast, size and grouping…
