Hero 425 block design & features
Hero425 is a full-screen portfolio hero for a commercial photographer, built with shadcn/ui and React. Thirty photos of houses, towers and wind turbines are laid out on a staggered canvas that repeats in every direction, with the heading, description and buttons in a card on the left.
Drag anywhere on the canvas to pan in any direction. Letting go keeps the canvas gliding with momentum until friction brings it to rest, and the canvas pulls back slightly while you hold it. Horizontal trackpad scrolling pans too, while vertical scrolling is left alone so the page still scrolls. When nobody touches it, the canvas drifts slowly on a diagonal that sways as it goes.
It suits photographers, studios, archives and agencies with a large body of visual work. The surfaces use theme tokens, so it works in light and dark mode, and visitors who prefer reduced motion get a still canvas.
