Content

Heading

Section heading. Wraps the Polaris <s-heading> web component.

Usage

<template>
  <ShHeading>Product details</ShHeading>
  <ShHeading accessibility-role="heading" :line-clamp="2">
    Long heading text that may be truncated
  </ShHeading>
</template>

Props

PropTypeDefaultDescription
accessibilityRole'none' | 'presentation' | 'heading'ARIA role
lineClampnumberMax visible lines
accessibilityVisibility'visible' | 'hidden' | 'exclusive'Accessibility visibility

Slots

SlotDescription
defaultHeading text

Polaris Element

Renders as <s-heading>. See Polaris Heading docs.

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

KiriminAja not affiliated with Shopify.