3D Displacement Text

WebGL text with fluid 3D displacement that follows your cursor. Built with Three.js shaders.

Default

Custom Color

Theme Aware

Automatically switches color between light and dark mode.

Props

PropTypeDefaultDescription
textstring"Hover Me"Text to display
fontSizenumber200Font size in pixels
fontstring"Inter, sans-serif"Font family
colorstringundefinedFixed color (overrides theme colors)
lightColorstring"#000000"Color in light mode
darkColorstring"#ffffff"Color in dark mode
classstringundefinedAdditional CSS classes

Credits