Black Friday 40% off everything

Sale ends in

Hero 366 - Field Lines Hero

Pro

A Swiss-style hero where thin field lines are traced between two orbiting poles set as large N and S letters, redrawn every frame as the poles turn, with the cursor bending the lines.

Shadcn Hero 366 block

Component data

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

Hero 366 block design & features

Hero366 is a full-screen hero built with shadcn/ui and a 2D canvas. Two poles are set as large bold letters, a red N and a black S, and dozens of thin field lines curve from one to the other. The layout is Swiss in style, with a very large headline under a thin rule at the top and the description, buttons and a short caption on a grid along the bottom.

The poles orbit slowly around each other, and every line is traced again each frame by stepping along the field from the N pole until it reaches the S pole. The seed points follow the line between the poles, so the curves glide smoothly as the poles turn. Small chevrons show which way each line runs, and the cursor adds a weak pole that pulls the lines towards it.

The canvas is sized for the device pixel ratio and stops drawing when the hero is off screen. The lines use the theme text colour, the accent colour, number of lines and speed are props, and reduced motion holds the poles still. It suits marketplaces, payments and any product that connects two sides.