<!--
{
  "availability" : [
    "iOS: 27.2.0 -",
    "iPadOS: 27.2.0 -",
    "macCatalyst: 27.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HomeExtensions",
  "identifier" : "/documentation/HomeExtensions/HomeAccessorySettingLabel",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "HomeExtensions"
    ],
    "preciseIdentifier" : "s:14HomeExtensions0A21AccessorySettingLabelV"
  },
  "title" : "HomeAccessorySettingLabel"
}
-->

# HomeAccessorySettingLabel

The text that the Home app displays for a setting or an option.

```
struct HomeAccessorySettingLabel
```

## Topics

### Creating a label

[`init(LocalizedStringResource, detailedLabel: LocalizedStringResource?, systemImage: String?)`](/documentation/HomeExtensions/HomeAccessorySettingLabel/init(_:detailedLabel:systemImage:))

Creates a label with primary text, and optional detail text and symbol.

### Setting the label text

[`let label: LocalizedStringResource`](/documentation/HomeExtensions/HomeAccessorySettingLabel/label)

The primary text.

[`let detailedLabel: LocalizedStringResource?`](/documentation/HomeExtensions/HomeAccessorySettingLabel/detailedLabel)

Optional text that describes the setting in more detail.

### Default Implementations

[ExpressibleByStringLiteral Implementations](/documentation/HomeExtensions/HomeAccessorySettingLabel/ExpressibleByStringLiteral-Implementations)

## Relationships

### Conforms To

[`ExpressibleByStringLiteral`](/documentation/Swift/ExpressibleByStringLiteral)

[`Encodable`](/documentation/Swift/Encodable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`Escapable`](/documentation/Swift/Escapable)

[`Decodable`](/documentation/Swift/Decodable)

[`Sendable`](/documentation/Swift/Sendable)

[`ExpressibleByUnicodeScalarLiteral`](/documentation/Swift/ExpressibleByUnicodeScalarLiteral)

[`ExpressibleByExtendedGraphemeClusterLiteral`](/documentation/Swift/ExpressibleByExtendedGraphemeClusterLiteral)

[`Copyable`](/documentation/Swift/Copyable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)