Hero 354 block design & features
Hero354 is a playful, print-inspired hero built with shadcn/ui and React Three Fiber. The heading, a short line and two buttons sit on the left, and a large portrait postcard with a white printed margin stands on the right, tilting gently in 3D.
The card is a plane with a custom shader that imitates a lenticular print. Its surface is divided into seventy vertical lenses, and each lens shows a strip of either image depending on the viewing angle, so mid-way through a turn the two photos interleave in fine stripes before one takes over. The angle also varies slightly across the card, so the change sweeps from one edge to the other, and each lenticule has a rounded highlight with a glossy sheen that travels as the card turns.
Moving the cursor left and right sets the viewing angle and tilts the card, and when the pointer rests it rocks back and forth on its own. Both images, the lens count and the speed are props, with a plain image underneath as a fallback while the textures load. It suits travel brands, photography, print shops and seasonal campaigns.
