Hero 512 block design & features
Hero512 is an accordion-style hero built with shadcn/ui and Motion. A large heading sits on the left with a short description and two buttons on the right, above a row of four photo columns.
One column is always open. Hovering, focusing or tapping another one widens it smoothly while the rest narrow, and the open column shows its price and a short description over a soft dark scrim. On phones the columns stack and open downwards instead.
It suits coworking spaces, hotels, venues, gyms and any product with a handful of options that each deserve a photo. Copy on the photos is white on a scrim and the rest uses theme tokens, so it works in dark mode, and with reduced motion the columns switch without animating.
