---
title: ToggleStyleConfiguration.Label
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/togglestyleconfiguration/label-swift.struct
---

# ToggleStyleConfiguration.Label

A type-erased label of a toggle.

## Declaration

```swift
@MainActor @preconcurrency struct Label
```

## Overview

Overview SwiftUI provides a value of this type — which is a View type — as the label to your custom toggle style implementation. Use the label to help define the appearance of the toggle.

## Relationships

### Conforms To

- [View](swiftui/view.md)

## See Also

### Getting the label view

- [label](swiftui/togglestyleconfiguration/label-swift.property.md)
