---
title: listSidebarHeader()
framework: uikit
role: symbol
role_heading: Type Method
path: uikit/uibackgroundconfiguration-swift.struct/listsidebarheader()
---

# listSidebarHeader()

Creates the default configuration you use to style a sidebar list header.

## Declaration

```swift
static func listSidebarHeader() -> UIBackgroundConfiguration
```

## Return Value

Return Value The default configuration for a sidebar list header.

## Discussion

Discussion Create this configuration to update the styling for the background of a header or footer in a table view or collection view list. When you apply this configuration, the background of the header or footer matches the system default styling for a header or footer in a sidebar list. For an appearance consistent with system defaults, use this background configuration for a header or footer in a collection view list that you configure with the UICollectionLayoutListConfiguration.Appearance.sidebar enumeration case.

## See Also

### Creating header and footer background configurations

- [listPlainHeaderFooter()](uikit/uibackgroundconfiguration-swift.struct/listplainheaderfooter().md)
- [listGroupedHeaderFooter()](uikit/uibackgroundconfiguration-swift.struct/listgroupedheaderfooter().md)
