---
title: "Badge"
description: "Status badge. Wraps the Polaris <s-badge> web component."
canonical_url: "https://shopify.yan.ad/components/feedback/badge"
---
# Badge

> Status badge. Wraps the Polaris <s-badge> web component.

## Live preview

<polaris-preview example="badge">



</polaris-preview>

## Props

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

<tbody>
  <tr>
    <td>
      <code>
        content
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Badge text
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        tone
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Color tone
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        progress
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Progress indicator
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        icon
      </code>
    </td>
    
    <td>
      <code>
        PolarisIcon
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Badge icon
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        size
      </code>
    </td>
    
    <td>
      <code>
        'base' | 'large'
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Badge size
    </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-badge>`. See [Polaris Badge docs](https://shopify.dev/docs/api/app-home/web-components/feedback/badge).


## Sitemap

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