---
title: "background(elementKind:)"
framework: uikit
role: symbol
role_heading: Type Method
path: "uikit/nscollectionlayoutdecorationitem/background(elementkind:)"
---

# background(elementKind:)

Creates a section background with a string to identify the element kind.

## Declaration

```swift
class func background(elementKind: String) -> Self
```
