Interactive liquid metaball typography with cursor-reactive inflation, fluid spline wake, and SVG gooey filter physics.
- Cursor-reactive liquid metaball inflation driven by a critically damped 2nd-order spring and a 5-node fluid spline wake.
- Dual-canvas rendering pairs crisp high-DPI typography with an SVG gooey filter (
feGaussianBlur + feColorMatrix) that sleeps when idle.
- Automatic
"auto", "light", and "dark" theme synchronization with live font-load re-sampling.
- Hero section display typography and interactive wordmarks.
- Playful landing page headlines and creative studio branding.
import { LiquidMorphText } from "@/components/liquid-morph-text"
<LiquidMorphText
text="morph"
fontSize={136}
radius={95}
intensity={1}
italic
theme="auto"
/>
Adjust fontSize, radius, and intensity to tune the metaball inflation reach and gooey bridge strength.
The component layers an SVG-filtered metaball canvas over a crisp high-DPI base canvas:
LiquidMorphText
├── Screen Reader Label (sr-only)
├── SVG Filter (feGaussianBlur -> feColorMatrix -> feComposite)
└── Canvas Stage
├── Base Canvas (high-DPI typography)
└── Gooey Overlay Canvas (Gaussian metaball sprites + filter)
- Uses
role="img" with aria-label and a visually hidden label, and triggers a liquid wave sweep when pressing Enter or Space.
- With
prefers-reduced-motion, the gooey overlay canvas and animation loop are disabled, leaving a static base render.
- Free to use and modify in both personal and commercial projects.
- Attribution is appreciated but not required.
- Released under the MIT License.
Every component here is built and maintained by one person.
If you enjoy using them, you can sponsor my work.