Frosted Glass

Blur and noise combination creating a frosted glass texture with backdrop blur.

Main Features of Frosted Glass

How to Use Frosted Glass in Next.js

Installation Guide for Frosted Glass

Props

Customize the component with these props

PropertyTypeDefaultDescription
backgroundColor
string#e2e8f0Background color
blob1Color
string#60a5faFirst blob color
blob2Color
string#f472b6Second blob color
blob1Size
string24remFirst blob size
blob2Size
string20remSecond blob size
blob1Opacity
number0.7First blob opacity
blob2Opacity
number0.7Second blob opacity
blob1Duration
number10First blob animation duration
blob2Duration
number12Second blob animation duration
blurAmount
string80pxBlur amount
noiseOpacity
number0.15Noise overlay opacity
noiseBaseFrequency
string1.5Noise base frequency
noiseOctaves
number3Noise octaves
glassBgColor
stringrgba(255, 255, 255, 0.3)Glass background color
glassBorderColor
stringrgba(255, 255, 255, 0.4)Glass border color
text
stringFrostedText label
textColor
string#1e293bText color
className
stringAdditional CSS classes

When to Use

Ideal for modern SaaS dashboards, landing page hero sections, and Next.js apps that want a premium Apple-style 'frosted' aesthetic. Use this React component for a high-quality glassmorphism effect with animated background blobs and a subtle tactile noise overlay.

Best Practices

Maintain consistent spacing within your design system by using soft, low-contrast primary colors for the blobs. Follow React best practices by adjusting the `blurAmount` to match the depth of your content. Optimize for performance by using high `blurAmount` only where strictly necessary for visual separation.

Why This Component Matters in Modern UI Development

Glassmorphism is a key trend in premium modern UI design, providing hierarchy and depth without adding visual clutter. This production-ready component helpsคุณ build an interface that feels high-end and deeply layered, improving user focus through elegant visual grouping.

Frequently Asked Questions

QCan I adjust the frosting intensity?

Yes, you can control the translucency via `glassBgColor` and the 'graininess' via the `noiseOpacity` and `noiseBaseFrequency` props.

QHow large are the underlying blobs?

The blobs scale via `blob1Size` and `blob2Size`, and their movement creates the shifting color spectrum visible through the glass.

QDoes it support backdrop blur?

Yes, it uses an advanced combination of CSS `backdrop-filter` and SVG noise to create a realistic frosted glass interaction with anything behind it.

Frosted Glass - React Noise Texture & Grain Effects | Uilora