Hero 380 block design & features
Hero380 is a full-screen payments API hero built with shadcn/ui and Canvas 2D. A heading, one line of description and two buttons sit on the left, and four headline figures run along the bottom as tabs. Behind them, a field of several hundred hairline threads, each ending in a small dot, fills the right side of the stage.
Each stat owns a formation and an accent colour: a sunburst, a rolling waveform, a bar chart drawn from vertical threads, and a cardioid of string-art chords. Choosing a tab sends every thread to its new position on a staggered ease, so the field melts from one shape into the next. The tabs cycle on their own every few seconds and pause after a click, the dots wobble gently at rest, and they are nudged aside when the pointer passes over them.
Use it for payments, fintech, analytics or infrastructure launches that lead with a handful of proof points. Thread colours come from a colors prop and the neutral threads follow the theme's foreground, so it works in light and dark mode. Visitors who prefer reduced motion get each formation as a still frame with no autoplay.
