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

# CalendarHeader

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

> The title row above the day grid. Flex-centred so the [CalendarHeading.root](/v3/reference/theming/keys/CalendarHeading.md#theme-key-CalendarHeading-root) sits in the middle of the row, with `px-8` reserving 32px of side padding for the prev / next [CalendarNavButton.root](/v3/reference/theming/keys/CalendarNavButton.md#theme-key-CalendarNavButton-root) pair that the component anchors to the row edges.

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

| Slot | Default classes | Description |
| --- | --- | --- |
| [root](/v3/reference/theming/keys/CalendarHeader.md#theme-key-CalendarHeader-root) | `flex justify-center pt-1 relative items-center w-full px-8` | The title row above the day grid. Flex-centred so the [CalendarHeading.root](/v3/reference/theming/keys/CalendarHeading.md#theme-key-CalendarHeading-root) sits in the middle of the row, with `px-8` reserving 32px of side padding for the prev / next [CalendarNavButton.root](/v3/reference/theming/keys/CalendarNavButton.md#theme-key-CalendarNavButton-root) pair that the component anchors to the row edges. |

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

## root

> The title row above the day grid. Flex-centred so the [CalendarHeading.root](/v3/reference/theming/keys/CalendarHeading.md#theme-key-CalendarHeading-root) sits in the middle of the row, with `px-8` reserving 32px of side padding for the prev / next [CalendarNavButton.root](/v3/reference/theming/keys/CalendarNavButton.md#theme-key-CalendarNavButton-root) pair that the component anchors to the row edges.

Default classes:

`flex justify-center pt-1 relative items-center w-full px-8`

Source: `client/lib/theme/vueda-tailwind/controls/CalendarHeader.theme.js:17`
