Shop-the-Look
The Shop-the-Look widget enables interactive visual product discovery directly on images. Users can explore hotspots on fashion, furniture, DIY, and lifestyle images to discover and purchase featured products, creating an engaging shopping experience that bridges inspiration and commerce.
Key features
Section titled “Key features”- Interactive Hotspots: Clickable areas on images reveal product information
- Visual Search: Powered by AI to identify products within images
- Multiple Images: Support for single or multiple images across various categories
- Responsive Design: Adapts to different screen sizes and orientations
- Widget Styles: Choose between rounded and cornered visual styles
- Cropper Mode: Enable manual area selection for precise product targeting
- Upload Mode: Allow users to upload their own images for instant product discovery
Examples
Section titled “Examples”Single image with rounded style
Section titled “Single image with rounded style”Multiple images with cornered style
Section titled “Multiple images with cornered style”image-urls takes several images as a comma-separated list.
Advanced features: cropper & upload mode
Section titled “Advanced features: cropper & upload mode”Styling
Section titled “Styling”Clicking a hotspot opens a modal in the grid view: up to four recommendation tiles. Clicking a tile switches the modal to the detail view: the Product Card of that recommendation, with a back arrow.
Both views are styled on the vviinn-shop-the-look element:
- Grid view —
--shop-the-look-results-grid-widthsets the grid width (default140px); the tiles and their images scale with it. The grid’s CSS parts are listed in the Shop-the-Look reference. - Detail view —
--shop-the-look-product-card-widthsets the card width (default160pxon desktop,120pxon mobile). The card is a regular Product Card, so its variables and CSS parts apply too.
--product-card-image-aspect-ratio sets the image shape in both views.
Example: larger grid and card
Section titled “Example: larger grid and card”Custom widths apply to all screen sizes, so this example sets smaller ones for mobile in a media query.