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

> Thumbnail image. Wraps the Polaris <s-thumbnail> web component.

## Live preview

<polaris-preview example="thumbnail">



</polaris-preview>

## Props

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

<tbody>
  <tr>
    <td>
      <code>
        src
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Image source URL
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        alt
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Alt text
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        size
      </code>
    </td>
    
    <td>
      <code>
        'small' | 'small-100' | 'small-200' | 'base' | 'large' | 'large-100'
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Thumbnail size
    </td>
  </tr>
</tbody>
</table>

## Slots

The `loading` prop accepts `'eager'` (Polaris default) or `'lazy'`. Use `loading="lazy"` to defer requesting images until they are shown, such as thumbnails in a closed menu.

<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-thumbnail>`. See [Polaris Thumbnail docs](https://shopify.dev/docs/api/app-home/web-components/content/thumbnail).


## Sitemap

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