Hero 351 block design & features
Hero351 is a weather app hero built with shadcn/ui, Motion and a small WebGL shader. A large centred heading, a short description and two buttons sit over a pale, natural sky, with a frosted card below showing an hourly forecast for one street.
The clouds are drawn with layered noise in a fragment shader. A hazy far layer moves slowly behind a closer, brighter layer, and both change shape as they drift. A soft sun in the upper corner lights their edges and leaves their undersides a cool grey, so they look like real cumulus rather than flat shapes. Moving the cursor across the section gently parts the clouds around it.
It suits weather apps, travel, outdoor brands and anything with a light, open feel. Colours are fixed on the panel with explicit text colours so it reads the same in dark mode. The shader renders at half resolution with pixel density capped at 2, pauses when the section is off screen, and shows a single still frame for visitors who prefer reduced motion.
