Hero 371 block design & features
Hero371 is an immersive hero built with shadcn/ui and React Three Fiber. The camera flies down a tunnel of bold dots that fills the whole section, with a centred heading, description and two buttons over the bright vanishing point.
Rings of dots are laid out once and moved in the vertex shader, wrapping from the far end back to the camera so the flight never ends. The tunnel's centre follows a smooth winding path, the ring radius ripples slightly, and spiral colour bands in four colours sweep past. Distant dots blend into the section background, so the middle stays clean for the copy.
The pointer bends the far end of the tunnel toward it and gently banks the camera; when the pointer rests, the tunnel winds on its own. Colours, ring count, dots per ring and speed are props, and the fade colour follows the light or dark theme. It suits networks, edge platforms, travel and anything about speed.
