<!--
{
  "documentType" : "article",
  "framework" : "FamilyControls",
  "identifier" : "/documentation/FamilyControls/DisplayingActivityLabels",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Displaying Activity Labels"
}
-->

# Displaying Activity Labels

Provide users with a read-only, visual representation of an application, category, or web domain.

## Overview

To display an application, category, or web domain, choose an
<doc://com.apple.documentation/documentation/ManagedSettings/ApplicationToken>,
<doc://com.apple.documentation/documentation/ManagedSettings/ActivityCategoryToken>, or
<doc://com.apple.documentation/documentation/ManagedSettings/WebDomainToken>
that represents an item selected by the user.
For example, you can access these tokens from the [`FamilyActivitySelection`](/documentation/FamilyControls/FamilyActivitySelection) bound
to a [`FamilyActivityPicker`](/documentation/FamilyControls/FamilyActivityPicker) view.

Use one of these tokens to create a <doc://com.apple.documentation/documentation/SwiftUI/Label>
instance by passing the token to its initializer.
Display the activity item like any SwiftUI view.

```swift
struct ExampleView: View {
    @State var selection = FamilyActivitySelection()

    var body: some View {
        VStack {
            FamilyActivityPicker(selection: $selection)
            if let applicationToken = selection.applicationTokens.first {
                Label(applicationToken)
            }
        }
    }
}
```

## Topics

### Label constraints

[`struct FamilyActivityTitleView`](/documentation/FamilyControls/FamilyActivityTitleView)

A type-erased view representing the title of the family activity.

[`struct FamilyActivityIconView`](/documentation/FamilyControls/FamilyActivityIconView)

A type-erased view representing the icon of the family activity.



---

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)