Skip to content

Component 031Effects

Liquid Glass Playground

A flowing teal workspace lets you drag refractive glass panels, fuse their surfaces, and adjust the material with live controls.

  • Next.js
  • Tailwind CSS
  • TypeScript
Drag a panel or focus it and use the arrow keys.
Loading preview…
Live interactive preview

Quick start

Make it yours.

Save liquid-glass-playground.tsx in your components folder, then import it below. Use it in a Next.js project with Tailwind CSS.

TSXapp/page.tsx
import LiquidGlassPlayground from "@/components/ui/liquid-glass-playground";

export default function PlaygroundPage() {
  return <LiquidGlassPlayground />;
}

Behind the interaction

The details that make it work.

Designed to explore, ready to adapt.

A liquid surface

The original Plasma UI shaders create rounded surface fusion, refraction, and luminous edges in a canvas contained within the component.

Shape the workspace

Arrange, scatter, add, or remove panels and explore appearance presets, motion, tint, and material controls.

Ready to reuse

The standalone source includes the renderer, fonts, styles, and license notices, with keyboard controls and a usable fallback when WebGL2 is unavailable.

Keep exploring

View all components