<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/EnvironmentValues/activityFamily",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI17EnvironmentValuesV9WidgetKitE14activityFamilyAD08ActivityH0Ovp"
  },
  "title" : "activityFamily"
}
-->

# activityFamily

The size family of the current Live Activity.

```
var activityFamily: ActivityFamily { get set }
```

## Discussion

A Live Activity you initiate on one device can also appear on a remote device
that renders the Live Activity in a different family size. As a result, it renders for a specific family, depending on both
the device and the location in which it appears. For example, when rendering on the iOS or iPadOS Lock Screen,
the current family is <doc://com.apple.comdumentation/documentation/WidgetKit/ActivityFamily/medium>.

Use <doc://com.apple.documentation/documentation/SwiftUI/WidgetConfiguration/supplementalActivityFamilies(_:)>
to opt in and allow your Live Activity to render with additional families.

---

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)