Hero 367 block design & features
Hero367 is a full-screen hero built with shadcn/ui and React Three Fiber. A grid of small compass dials covers the section, each with a slim needle whose tip is drawn in a single red accent. The headline, description and two buttons sit in the centre, and the needles behind them fade back so the copy stays easy to read.
Two invisible attractors drift slowly across the hero on looping paths, and the cursor joins them as a stronger third pull. Every needle points towards the combined pull, but turns on its own small spring with a slightly different stiffness, so the grid sweeps round in a ripple and overshoots a little before it settles.
The needles are instanced quads drawn in a fragment shader, and their angles are updated each frame with fixed substeps so the swing feels the same at any frame rate. The ink follows the theme text colour, the accent colour and speed are props, and reduced motion stops the attractors drifting. It suits dispatch, logistics, field service and mapping products.
