Layout
Section
Section container with optional heading. Wraps the Polaris <s-section> web component.
Usage
<template>
<ShSection heading="Details" padding="base">
<p>Section content</p>
</ShSection>
</template>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
heading | string | — | Section heading |
padding | 'base' | 'none' | — | Section padding |
accessibilityLabel | string | — | Accessible label |
Slots
| Slot | Description |
|---|---|
default | Section content |
Polaris Element
Renders as <s-section>. See Polaris Section docs.