Glasses

CSS, SVG, WebGL, and Three.js liquid glass effects for React, Next.js, TypeScript, and vanilla JavaScript. Interactive demos with live controls.

Liquid Glass Sphere

Apple & Figma-style liquid glass sphere with GLSL refraction, animated color blobs, and organic noise distortion. Pure WebGL — no Three.js required.

Preview

Loading preview…

Customize

Size240
Speed1
IOR1.45
Shape
Get Code

Glassmorphism Card

Classic glassmorphism card with backdrop-filter blur, saturation boost, semi-transparent tint, and subtle border. The most popular glass UI pattern for modern web design.

Preview

Loading preview…

Customize

Blur16
Saturate180
Opacity0.08
Radius16
Get Code

Gradual Blur

A liquid blur effect using layered backdrop filters with gradient masks. Perfect for hero sections, image overlays, and content fades.

Preview

Loading preview…

Customize

Strength1.5
Layers7
Position
Height40
Get Code

Three.js Transmission Glass

Realistic 3D glass torus using Three.js MeshTransmissionMaterial with refraction, chromatic aberration, and organic distortion. Built with @react-three/fiber and @react-three/drei.

Preview

Loading preview…

Customize

IOR1.5
Thickness0.5
Chromatic0.06
Get Code

Apple Liquid Glass

Native Apple Liquid Glass using the -apple-visual-effect CSS property from iOS 26. Works in Safari on iOS 26+ with backdrop-filter blur fallback for other browsers.

Preview

Loading preview…

Customize

Radius20
Get Code

SVG Liquid Distortion

Organic distortion using SVG feTurbulence and feDisplacementMap filters. No WebGL — works everywhere, animates with SMIL.

Preview

Loading preview…

Customize

Scale30
Frequency0.015
Animate
Radius16
Get Code

Frosted Glass Soft Edges

Frosted glass with soft feathered edges using CSS mask-image and radial-gradient. The blur fades smoothly toward the edges instead of having a hard border.

Preview

Loading preview…

Customize

Blur16
Feather40
Radius20
Get Code

SVG Backdrop Refraction

Applies an SVG filter chain (feTurbulence + feDisplacementMap + feGaussianBlur) via backdrop-filter: url(#filter) for glass-like refraction of background content. Chromium only.

Preview

Loading preview…

Customize

Blur8
Scale20
Radius16
Get Code