---
title: Slot Header Render Hooks
---

Customize the slot header elements — where the date/time text is displayed — in timegrid and timeline views.

`slotHeaderClass` - a [ClassName Input](classname-input) for the slot header element

`slotHeaderInnerClass` - a [ClassName Input](classname-input) for the inner wrapper of the slot header. Useful for adjusting padding.

`slotHeaderContent` - a [Content Injection Input](content-injection)

`slotHeaderDidMount`

`slotHeaderWillUnmount`


## Argument

When the above hooks are specified as a function in the form `function(arg)`, the `arg` is an object with the following properties:

- `date` - Date object
- `text`
- `isPast`
- `isFuture`
- `isToday`
- `isMajor`
- `isMinor`
- `isNarrow`
- `hasNavLink`
- `isFirst`
- `el` - the element. only available in `slotHeaderDidMount` and `slotHeaderWillUnmount`
- `level` - only for timeline view when [slotLabelFormat](slotLabelFormat) is specified as an array. Indicates which tier of the header is being rendered. `0` is the bottom-most.
