# 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.md) for the slot header element

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

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

`slotHeaderDidMount`

`slotHeaderWillUnmount`


## Argument

When the above hooks are specified as a function in the form `function(info)`, the `info` 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 [slotHeaderFormat](slotHeaderFormat.md) is specified as an array. Indicates which tier of the header is being rendered. `0` is the bottom-most.
