Fluid Type
Giant outlined type revealed by a liquid glass cursor. The pointer paints a trail that drifts along its own flow, drawn as dark glass that smears the light along the motion and splits it into colour at the edges. It shows in colour only inside the letters, so it reveals the word where it passes, and at rest a slow gradient keeps sweeping the words between a glowing outline and a dim fill.
How It Works
Each frame the pointer is drawn into a quarter-size half-float paint texture as a capsule from its last position, storing velocity and two fading weights; a blurred eighth-size copy pushes the paint along its own flow so it drifts like liquid, with no curl. The display reads the paint as a lens over a dark field of chrome streaks, looking into it by the trail's slope, flow, thickness and age rather than by screen position, so colours mix along every stroke: a normal from the trail's thickness bends it, nine taps smear it along the motion with the red and blue channels pulled apart by the aberration, a rainbow shift lights the thin fast parts and a highlight catches the slope. It's shown in colour inside a text texture of the words and as faint grey smoke outside. The outline is traced from that texture's edge, lights up in the glass's colour where the trail passes, and at rest a slow sweep moves each letter between a faintly tinted outline and a dim grey fill.
Use It
Install it with shadcn, or copy the file into your components folder, then use it like this. Change a setting in the demo and the example picks it up. Works with Next.js (App Router) and any React 19 project on Tailwind CSS v4.
npx shadcn@latest add @reacthive/fluid-type<section className="h-svh bg-black text-white">
<FluidType lines={["Make Waves"]} className="font-bold tracking-tight" />
</section>- lines are the words, one line each; they're sized to fill the width and fit the height, in the font, weight and tracking of the element (set them with className). The words are in the page as a heading for screen readers; the canvas is decoration.
- mark draws a logo before the first line: SVG path data in a 100 by 100 box centred on 0, with an optional cut path for hairline gaps. The demo uses the ReactHive mark.
- aberration is how far the glass splits light into colour (0 to 100, 50 by default). colors are the chrome behind the glass: a deep and a light cool colour, then a deep and a light warm one. spill is how much shows outside the letters, linger roughly how long the trail stays, swirl how far it drifts along its own flow. outline is the letters' line colour.
- It fills its parent, which needs a size. The slow gradient keeps moving while it's on screen; the trail only computes for a few seconds after the last movement, and nothing runs off screen. With reduced motion, or without float render targets, the letters hold one still glass ribbon.
More Text

Shoal
Text

Mercury Clock
Text

Whirlwind
Text
Your Next Site Starts with a Live Demo.
Click around first. What you see is exactly what you download.