Hero 358 block design & features
Hero358 is a full-screen hero built with shadcn/ui and React Three Fiber. A large torus knot turns in the upper part of the section, drawn entirely out of text characters, with a headline, description and two buttons near the bottom.
Each frame the knot is rendered into a small render target with one pixel per character cell. That pass packs lighting, a colour ramp and the rim into separate channels. A full-screen shader then reads each cell, picks a glyph from a monospace atlas by brightness and colours it from teal to cobalt, with orange along the silhouette.
The cursor turns the knot, and when the pointer rests it keeps rotating on its own. The heading, palette, glyph ramp and speed are props, cells shrink on phones so the shape stays readable, and dark mode keeps the characters bright on a dark page. It suits developer tools, observability products and anything with a terminal at its heart.
