---
title: "Choice"
description: "Individual choice option for use inside ChoiceList. Wraps the Polaris <s-choice> web component."
canonical_url: "https://shopify.yan.ad/components/forms/choice"
---
# Choice

> Individual choice option for use inside ChoiceList. Wraps the Polaris <s-choice> web component.

## Live preview

<polaris-preview example="choice">



</polaris-preview>

## Props

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

<tbody>
  <tr>
    <td>
      <code>
        value
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Choice value
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        selected
      </code>
    </td>
    
    <td>
      <code>
        boolean
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Whether the choice is selected
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        defaultSelected
      </code>
    </td>
    
    <td>
      <code>
        boolean
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Default selected (uncontrolled)
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        disabled
      </code>
    </td>
    
    <td>
      <code>
        boolean
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Disables the choice
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        accessibilityLabel
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Accessible label
    </td>
  </tr>
</tbody>
</table>

## Slots

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

<tbody>
  <tr>
    <td>
      <code>
        default
      </code>
    </td>
    
    <td>
      Choice label
    </td>
  </tr>
</tbody>
</table>

## Polaris Element

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


## Sitemap

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