Hero 348 block design & features
Hero348 is a full-screen hero built with shadcn/ui and React Three Fiber. A huge headline sits in the lower left of a section filled with one rich colour of silk, with a description and two buttons below it.
A fragment shader builds the fabric from long diagonal folds bent by slow noise, layered at several scales so the cloth has broad billows and fine creases. It is lit with a soft diffuse light and an anisotropic sheen along the thread direction, which gives the glossy streaks of real silk. Deeper folds fall into a darker shade of the same colour.
The cursor presses a soft dimple into the fabric that follows it around and eases out when the pointer stops. The colour is a single prop, and the text sits in white on top. It suits fashion, textiles, interiors and lifestyle brands.
