Navigation

Option

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

Usage

<template>
  <ShMenu accessibility-label="Actions">
    <ShOption value="edit" selected>Edit</ShOption>
    <ShOption value="delete" disabled>Delete</ShOption>
  </ShMenu>
</template>

Props

PropTypeDefaultDescription
valuestringOption value
selectedbooleanWhether the option is selected
defaultSelectedbooleanDefault selected (uncontrolled)
disabledbooleanDisables the option

Slots

SlotDescription
defaultOption label

Polaris Element

Renders as <s-option>. See Polaris Option docs.

© 2026 KiriminAja. Polaris and Shopify are trademarks of Shopify Inc.

KiriminAja not affiliated with Shopify.