---
title: "TableHeader"
description: "Table header section. Wraps the Polaris <s-table-header> web component."
canonical_url: "https://shopify.yan.ad/components/data/table-header"
---
# TableHeader

> Table header section. Wraps the Polaris <s-table-header> web component.

## Live preview

<polaris-preview example="table-header">



</polaris-preview>

## Props

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

<tbody>
  <tr>
    <td>
      <code>
        listSlot
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Slot name for list view
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        format
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Header format
    </td>
  </tr>
</tbody>
</table>

## Slots

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

<tbody>
  <tr>
    <td>
      <code>
        default
      </code>
    </td>
    
    <td>
      Header row(s)
    </td>
  </tr>
</tbody>
</table>

## Polaris Element

Renders as `<s-table-header>`.


## Sitemap

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