Image

<s-image>

Displays a full image with control over its aspect ratio and fit.

Official Shopify docsPolaris 2.0 web component

Cropped product image

Use an aspect ratio to reserve space and cover to fill it with a consistent crop.

Responsive image sources

Give the browser a choice of image widths with srcSet and describe the rendered width with sizes.