<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: -",
    "macOS: 15.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WidgetKit",
  "identifier" : "/documentation/WidgetKit/WidgetRelevanceGroup",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "WidgetKit"
    ],
    "preciseIdentifier" : "s:9WidgetKit0A14RelevanceGroupV"
  },
  "title" : "WidgetRelevanceGroup"
}
-->

# WidgetRelevanceGroup

A type for configuring widget behavior in the watchOS Smart Stack.

```
struct WidgetRelevanceGroup
```

## Overview

Use `WidgetRelevanceGroup` alongside [`WidgetRelevanceAttribute`](/documentation/WidgetKit/WidgetRelevanceAttribute)
to tell the system how it should group your widgets
in the watchOS Smart Stack. The system may provide a default grouping mechanism
for widgets in the Smart Stack; for example, per-app grouping. Creating a
relevance group and choosing the `.ungrouped` option opts out of
default grouping behavior. For additional information about widgets in Smart
Stacks, refer to [Increasing the visibility of widgets in Smart Stacks](/documentation/WidgetKit/Widget-Suggestions-In-Smart-Stacks).

---

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)