Product Gallery 35 block design & features
This product gallery shows one hoodie in five colours as a row of tall photos. The selected colourway widens to take most of the row and carries a pill with its swatch, name and price, while the narrow columns either side show a small swatch dot so each colour is easy to spot. The product name and a short description sit above the row. It is built with Shadcn UI and Motion.
Under the row a buying strip follows the selection. A large swatch changes colour, the name, price and stock note roll over to the new colourway, and the add to bag button names the colour it will add, switching to a short added confirmation when pressed. Hovering, focusing or tapping a column opens it, and when nobody is interacting the row moves through the colours on its own, pausing for a few seconds after each choice.
The product name, description, button labels, colourways with swatches, prices, stock notes and images, and the auto-advance interval are props. The row is a radio group, so it can be used from the keyboard, and with reduced motion the widening is instant and the auto-advance is off.
