---
title: "init(header:footer:content:)"
framework: swiftui
role: symbol
role_heading: Initializer
path: "swiftui/section/init(header:footer:content:)"
---

# init(header:footer:content:)

Creates a section with a header, footer, and the provided section content.

## Declaration

```swift
init(header: Parent, footer: Footer, @ContentBuilder content: () -> Content)
```

## Parameters

- `header`: A view to use as the section’s header.
- `footer`: A view to use as the section’s footer.
- `content`: The section’s content.

## See Also

### Deprecated symbols

- [init(header:content:)](swiftui/section/init(header:content:).md)
- [init(footer:content:)](swiftui/section/init(footer:content:).md)
- [collapsible(_:)](swiftui/section/collapsible(_:).md)
