---
title: "OptionGroup"
description: "Group of menu options. Wraps the Polaris <s-option-group> web component."
canonical_url: "https://shopify.yan.ad/components/navigation/option-group"
---
# OptionGroup

> Group of menu options. Wraps the Polaris <s-option-group> web component.

## Live preview

<polaris-preview example="option-group">



</polaris-preview>

## Props

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

<tbody>
  <tr>
    <td>
      <code>
        label
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Group label
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        disabled
      </code>
    </td>
    
    <td>
      <code>
        boolean
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Disables all options
    </td>
  </tr>
</tbody>
</table>

## Slots

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

<tbody>
  <tr>
    <td>
      <code>
        default
      </code>
    </td>
    
    <td>
      <code>
        <ShOption>
      </code>
      
       child components
    </td>
  </tr>
</tbody>
</table>

## Polaris Element

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


## Sitemap

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