---
title: "Image"
description: "Optimized image display. Wraps the Polaris <s-image> web component."
canonical_url: "https://shopify.yan.ad/components/content/image"
---
# Image

> Optimized image display. Wraps the Polaris <s-image> web component.

## Live preview

<polaris-preview example="image">



</polaris-preview>

## Props

<table>
<thead>
  <tr>
    <th>
      Prop
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        id
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Element ID
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        originalSrc
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Image source URL
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        altText
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Alternative text
    </td>
  </tr>
</tbody>
</table>

## Slots

<table>
<thead>
  <tr>
    <th>
      Slot
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        default
      </code>
    </td>
    
    <td>
      Additional content
    </td>
  </tr>
</tbody>
</table>

## Polaris Element

Renders as `<s-image>`. See [Polaris Image docs](https://shopify.dev/docs/api/app-home/web-components/content/image).


## Sitemap

See the full [sitemap](https://shopify.yan.ad/sitemap.md) for all pages.
