Forms

ChoiceList

Radio/checkbox group with v-model support. Wraps the Polaris <s-choice-list> web component.

Usage

<script setup>
const selected = ref(['email'])
</script>

<template>
  <ShChoiceList v-model="selected" label="Notification methods" multiple>
    <ShChoice value="email">Email</ShChoice>
    <ShChoice value="sms">SMS</ShChoice>
    <ShChoice value="push">Push notification</ShChoice>
  </ShChoiceList>
</template>

Props

PropTypeDefaultDescription
modelValuestring[]Bound values (use with v-model)
labelstringGroup label
multiplebooleanAllow multiple selections (checkboxes)
errorstringError message
detailsstringHelp text below the list
labelAccessibilityVisibility'visible' | 'exclusive'Label visibility for assistive tech
disabledbooleanDisables all choices
namestringForm field name

Events

EventPayloadDescription
update:modelValuestring[]Emitted when selection changes
changeEventNative change event
inputEventNative input event

Slots

SlotDescription
default<ShChoice> child components

Polaris Element

Renders as <s-choice-list>. See Polaris ChoiceList docs.

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

KiriminAja not affiliated with Shopify.