---
url: "https://vueda.dev/v3/reference/theming/keys/TableHeader.md"
title: "TableHeader"
---

# TableHeader

Source: `client/lib/theme/vueda-tailwind/grid/index.js`

> The `<thead>` section wrapper. Empty by default: header cells take their bottom divider from [TableRow.root](/v3/reference/theming/keys/TableRow.md#theme-key-TableRow-root), and because that border belongs to the cell, a sticky [TableHead.root](/v3/reference/theming/keys/TableHead.md#theme-key-TableHead-root) carries it over scrolling body content.

Vue component: [TableHeader](/v3/reference/api/vue/TableHeader.md)

| Slot | Default classes | Description |
| --- | --- | --- |
| [root](/v3/reference/theming/keys/TableHeader.md#theme-key-TableHeader-root) |  | The `<thead>` section wrapper. Empty by default: header cells take their bottom divider from [TableRow.root](/v3/reference/theming/keys/TableRow.md#theme-key-TableRow-root), and because that border belongs to the cell, a sticky [TableHead.root](/v3/reference/theming/keys/TableHead.md#theme-key-TableHead-root) carries it over scrolling body content. |

<a id="theme-key-TableHeader-root"></a>

## root

> The `<thead>` section wrapper. Empty by default: header cells take their bottom divider from [TableRow.root](/v3/reference/theming/keys/TableRow.md#theme-key-TableRow-root), and because that border belongs to the cell, a sticky [TableHead.root](/v3/reference/theming/keys/TableHead.md#theme-key-TableHead-root) carries it over scrolling body content.

Default classes:

Source: `client/lib/theme/vueda-tailwind/grid/TableHeader.theme.js:19`
