Black Friday 40% off everything

Sale ends in

Hero 367 - Compass Needles Hero

Pro

A full-screen hero with a grid of small compass needles that swing towards two drifting attractors and the cursor, settling with a slight wobble around a centred headline.

Shadcn Hero 367 block

Component data

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

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.