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

> Icon display. Wraps the Polaris <s-icon> web component.

## Live preview

<polaris-preview example="icon">



</polaris-preview>

## Props

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

<tbody>
  <tr>
    <td>
      <code>
        type
      </code>
    </td>
    
    <td>
      <code>
        PolarisIcon
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Icon name
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        size
      </code>
    </td>
    
    <td>
      <code>
        'small' | 'base'
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Icon size
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        tone
      </code>
    </td>
    
    <td>
      <code>
        'info' | 'success' | 'warning' | 'critical' | 'auto' | 'neutral' | 'caution'
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Color tone
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        color
      </code>
    </td>
    
    <td>
      <code>
        'base' | 'subdued'
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Icon color
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        interestFor
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Target for interest
    </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-icon>`. See [Polaris Icon docs](https://shopify.dev/docs/api/app-home/web-components/content/icon).


## Sitemap

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