Soft liquid blobs that drift, merge and split with color blending at the seams, plus an extra blob that trails the pointer. Renders an isofield at adaptive resolution so it stays smooth on large screens.
Included in Standard and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
import { CanvasMetaballs } from "@/components/hyperblur-pro/canvas-metaballs"
<CanvasMetaballs />| Prop | Type | Default | Description |
|---|---|---|---|
| colors | string[] | ["#7c5cff", "#2fd3ff", "#ff4fa3", "#ffb547"] | Blob colors, assigned in turn. Colors blend where blobs merge. |
| background | string | "#07080c" | Background color behind the blobs. |
| speed | number | 1 | Animation speed multiplier. |
| density | number | 1 | Blob count multiplier. 1 is 8 blobs, capped at 16 (8 on low-end devices). |
| size | number | 1 | Blob radius multiplier. |
| softness | number | 0.5 | Edge softness from 0 (crisp) to 1 (very soft). |
| glow | number | 0.6 | Strength of the faint halo around blobs, from 0 to 1. |
| pointer | boolean | true | Adds a blob that follows the pointer and merges with the others. |
| seed | number | 7 | Seed for blob placement and motion. |
| children | ReactNode | - | Content rendered on top of the background. |
| className | string | "" | Extra classes for the root. The root has a 240px minimum height; set a height to size it. |
| style | CSSProperties | - | Inline styles for the root. |
Source code is included in Standard and above