---
title: "init(content:label:)"
framework: swiftui
role: symbol
role_heading: Initializer
path: "swiftui/labeledcontent/init(content:label:)"
---

# init(content:label:)

Creates a standard labeled element, with a view that conveys the value of the element and a label.

## Declaration

```swift
nonisolated init(@ContentBuilder content: () -> Content, @ContentBuilder label: () -> Label)
```

## Parameters

- `content`: The view that conveys the value of the resulting labeled element.
- `label`: The label that describes the purpose of the result.

## See Also

### Creating labeled content

- [init(_:content:)](swiftui/labeledcontent/init(_:content:).md)
- [init(_:value:)](swiftui/labeledcontent/init(_:value:).md)
- [init(_:value:format:)](swiftui/labeledcontent/init(_:value:format:).md)
- [init(_:)](swiftui/labeledcontent/init(_:).md)
