Hero 352 block design & features
Hero352 is a full-bleed photo hero built with shadcn/ui and React Three Fiber. A bright running photo fills the whole section, and the heading, description and two buttons sit on a plain card in the lower left so they stay readable over any image.
The photo is drawn by a fragment shader that reads from a small flow-map simulation. Each frame the flow field fades, carries itself a little so strokes curl, and takes in the pointer's velocity as a soft splat. The photo is displaced along that field, with a light colour split on strong currents and glossy highlights where the surface tilts, while a slow domain-warped current keeps it moving at rest.
Moving the cursor drags liquid through the picture, and when the pointer rests a lazy figure-eight stirs it on its own. The image, flow strength and speed are props, dark mode dims the photo to match the page, and reduced motion holds a calm frame. It suits sportswear, footwear and product launches that lead with one strong photo.
