---
title: "Heading"
description: "Section heading. Wraps the Polaris <s-heading> web component."
canonical_url: "https://shopify.yan.ad/components/content/heading"
---
# Heading

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

## Live preview

<polaris-preview example="heading">



</polaris-preview>

## Props

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

<tbody>
  <tr>
    <td>
      <code>
        accessibilityRole
      </code>
    </td>
    
    <td>
      <code>
        'none' | 'presentation' | 'heading'
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      ARIA role
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        lineClamp
      </code>
    </td>
    
    <td>
      <code>
        number
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Max visible lines
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        accessibilityVisibility
      </code>
    </td>
    
    <td>
      <code>
        'visible' | 'hidden' | 'exclusive'
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Accessibility visibility
    </td>
  </tr>
</tbody>
</table>

## Slots

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

<tbody>
  <tr>
    <td>
      <code>
        default
      </code>
    </td>
    
    <td>
      Heading text
    </td>
  </tr>
</tbody>
</table>

## Polaris Element

Renders as `<s-heading>`. See [Polaris Heading docs](https://shopify.dev/docs/api/app-home/web-components/content/heading).


## Sitemap

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