Black Friday 40% off everything

Sale ends in

Hero 345 - Ferrofluid Hero

Pro

A full-screen hero with a raymarched puddle of glossy ferrofluid whose spikes rise and lean toward the cursor like a magnet.

Shadcn Hero 345 block

Component data

ID
hero345
Access
pro
Created
Nov 7, 2026
Type
block
Libraries
Radix UI, Base UI, React Aria

Hero 345 block design & features

Hero345 is a centred, full-screen hero built with shadcn/ui and React Three Fiber. A wide puddle of glossy black ferrofluid sits in the lower half of the section and grows a field of sharp spikes, with the heading, description and buttons above it.

The whole scene is one raymarched fragment shader. The puddle is a height field: a shallow dome with cone-shaped spikes on a hexagonal lattice, each spike's height set by its distance to an invisible magnet and tipped slightly toward it. Rays march down through the field, refine the hit with a short bisection and shade the surface as near-black liquid metal reflecting a studio with a bright softbox and two coloured strip lights, over a soft contact shadow.

The cursor is the magnet: the spikes rise tallest beneath it and the puddle leans after it. When the pointer rests, the magnet circles slowly under the puddle while the field breathes. The two light colours and speed are props, the floor takes the theme background in dark mode, and reduced motion freezes a spiked frame. It suits audio, hardware and premium consumer products.