Ecommerce Hero 26 block design & features
EcommerceHero26 is a full-screen product hero built with shadcn/ui and Motion. A warm interior photo fills the section and a single solid card floats in the bottom-right corner, turning the room shot into a buy box for the sofa in it.
The card holds the product name, a star rating with review count, a short description, the sale price beside the was-price and saving, fabric swatches, an add-to-bag button and a delivery and returns line. The swatches step through the fabrics on their own after the card slides in, and the price rolls to match, until a visitor picks one. The add-to-bag button shows the current price and switches to a confirmed state when pressed.
On phones the card stretches to the container width and stays pinned to the bottom of the photo. It suits furniture, lighting and homeware shops that sell from room photography, and the card follows the theme's background and text colours.
