---
title: "Option"
description: "Menu option item. Wraps the Polaris <s-option> web component."
canonical_url: "https://shopify.yan.ad/components/navigation/option"
---
# Option

> Menu option item. Wraps the Polaris <s-option> web component.

## Live preview

<polaris-preview example="option">



</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>
      Option value
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        selected
      </code>
    </td>
    
    <td>
      <code>
        boolean
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Whether the option 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 option
    </td>
  </tr>
</tbody>
</table>

## Slots

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

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

## Polaris Element

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


## Sitemap

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