Hero 368 block design & features
Hero368 is a full-screen interactive hero built with shadcn/ui and React Three Fiber. A dense grid of small grey dots covers the section, with a left-aligned heading, a description and two buttons on top.
The dots are one instanced draw call. Each dot is a spring tied to its grid position, and a repulsion force pushes it away from the magnet. As dots move they grow and take a colour from the palette based on the direction they were pushed, so every disturbance blooms into a ring of colour that fades as the springs pull the grid back together.
The cursor is the magnet. When it rests, two magnets wander the grid and a shockwave ripples out every couple of seconds, so the hero always looks alive. Reduced motion holds the grid still. The copy, palette and speed are props, and the resting dots adapt to light and dark themes. It suits security, filtering and developer tools.
