Black Friday 40% off everything

Sale ends in

Hero 370 - Flow Lines Hero

Pro

A full-screen hero where thousands of GPU particles follow a curl-noise field and paint flowing coloured lines across the page, with a vortex that follows the cursor.

Shadcn Hero 370 block

Component data

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

Hero 370 block design & features

Hero370 is a generative hero built with shadcn/ui and React Three Fiber. Coloured flow lines stream across the whole section, with a heading, description and two buttons on the left over a calmer patch of the field.

Particle positions live in a float texture and are advanced each frame in a fragment shader using the curl of layered simplex noise, which keeps the flow swirling without sinks. The particles are drawn as small dots into a persistent half-float buffer that fades toward the background a little every frame, so their paths build up into long painted trails.

The pointer adds a vortex that wraps nearby lines into a whirl; when it rests, the vortex wanders slowly on its own. The four colours, particle grid size and speed are props, reduced motion paints a still frame, and the trails fade to whichever theme background is active. It suits energy, climate, data and generative brands.