Liquid Mesh Blur

Organic liquid mesh gradient shader background blending orbiting particle clusters through a high-radius Gaussian blur diffusion filter.

8.4 KB
•
Updated on October 9, 2026
Active on Canvas Stage

Installation

Bash
pnpm dlx shadcn@latest add @spaceui/components-shader-liquid-mesh-blur

Usage

Code
import { LiquidMeshBlur } from '@/components/shader/liquid-mesh-blur'

export default function SpaceUI() {
  return (
    <div className="relative h-96 w-full overflow-hidden rounded-2xl">
      <LiquidMeshBlur blur={60} speed={1} particleCount={70} interactive={true} />
    </div>
  )
}

Examples

Top Ambient Glow

Active on Canvas Stage

API Reference

PropTypeDefaultDescription
colors
string[]
['#7C5CFC', '#0EA5E9', '#FF6F59', '#B8EE3A', '#E040FB', '#06B6D4']Array of hex color strings for fluid clusters
color1 .. color6
string
—Direct overrides for individual cluster colors
blur
number
60Gaussian blur diffusion radius in pixels
speed
number
1Orbit & drift velocity multiplier
particleCount
number
70Total number of animated fluid particles
minSize
number
130Minimum particle radius in pixels
maxSize
number
230Maximum particle radius in pixels
contrast
number
1.1Color contrast multiplier applied with blur filter
interactive
boolean
trueEnables pointer tracking attraction & repulsion
className
string
—Optional container CSS class name
style
React.CSSProperties
—Inline styles for wrapper container
children
React.ReactNode
—Content overlaid cleanly on top of the liquid canvas

Keep in mind

  • MIT License: Free and open-source for personal and commercial use. Feel free to copy, tweak, and adapt the components to match your exact needs.
  • Credits & Inspiration: Some components on this site are inspired by or recreated from great ideas across the web. I'm not here to take credit; just to learn, experiment, and push interface craft further.
  • Reach out & Claims: If an attribution was missed, or if you have any inquiry or claim, feel free to reach out directly on X to @adrielzimbril. I'll be glad to update or resolve it right away.

Related Components

CloudShader

Interactive volumetric cloud material rendered as a full-bleed shader surface.

View
Fluid CrossfadeShader

A dual-pass WebGL shader fluid simulation with chromatic wave refraction and Bayer 4x4 matrix ordered dither crossfading.

View
Fluid Distortion ImageShader

An interactive WebGL shader image component with cover UV mapping and dynamic cursor fluid-distortion ripples using data textures.

View
Mesh Gradient
pnpm dlx shadcn@latest add @spaceui/components-spaceui-ui
pnpm dlx shadcn@latest add @spaceui/components-shader-liquid-mesh-blur