Black Friday 40% off everything

Sale ends in

Hero 349 - Cloth Drape Hero

Pro

A full-screen hero where a sheet of striped linen hangs from the top edge and billows in the wind, with a soft serif heading and a colour key that names each stripe.

Shadcn Hero 349 block

Component data

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

Hero 349 block design & features

Hero349 is a full-screen product hero built with shadcn/ui and React Three Fiber. A wide sheet of striped linen hangs from the top edge of the section and fills most of the frame, with the heading, a short description, a fabric spec line, a colour key and two pill buttons along the bottom.

The cloth is a real Verlet simulation. A grid of particles is pinned along the top and tied together with structural, shear and bend links, then relaxed several times per frame so it folds like a heavy woven fabric. A gusting wind field travels across the sheet, the mesh normals are rebuilt every frame, and a sheen material with a printed stripe texture catches the light along each fold. The cursor acts like a hand pressing into the fabric, and when the pointer rests a slow idle hand keeps sweeping across it.

The type is set to echo the drape. The heading uses Fraunces at its softest optical setting, coloured in the deep indigo stripe, and its words rise and settle one after another like fabric catching a gust. The last word is set in the wonky italic in the madder stripe colour and slowly breathes between weights and softness. Beneath it, a fabric spec line in IBM Plex Mono rides a gently travelling sine wave, and a small colour key names each stripe of the colourway.

The stripe colours, colour names, wind strength and copy are all props, so the type always matches the cloth. The stage and heading follow the theme in dark mode, and reduced motion freezes the cloth after it settles and holds the type still. It suits textile, homeware and fashion brands.