<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/HoverEffectGroup",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI16HoverEffectGroupV"
  },
  "title" : "HoverEffectGroup"
}
-->

# HoverEffectGroup

Describes a grouping of effects that activate together.

```
struct HoverEffectGroup
```

## Overview

Use [`HoverEffectGroup`](/documentation/SwiftUI/HoverEffectGroup) to apply effects to multiple views in concert.

## Topics

### Structures

[`struct Behavior`](/documentation/SwiftUI/HoverEffectGroup/Behavior)

Describes the behavior of an effect in a group.

### Initializers

[`init(Namespace.ID, behavior: HoverEffectGroup.Behavior)`](/documentation/SwiftUI/HoverEffectGroup/init(_:behavior:))

Creates a new [`HoverEffectGroup`](/documentation/SwiftUI/HoverEffectGroup) from a `Namespace.ID`.

[`init(id: String?, in: Namespace.ID, behavior: HoverEffectGroup.Behavior)`](/documentation/SwiftUI/HoverEffectGroup/init(id:in:behavior:))

Creates a new [`HoverEffectGroup`](/documentation/SwiftUI/HoverEffectGroup).

### Instance Methods

[`func behavior(HoverEffectGroup.Behavior) -> HoverEffectGroup`](/documentation/SwiftUI/HoverEffectGroup/behavior(_:))

Returns a new version of `self` with the given `behavior`.

### Type Properties

[`static var systemOverlays: HoverEffectGroup`](/documentation/SwiftUI/HoverEffectGroup/systemOverlays)

A `HoverEffectGroup` that becomes active when system overlays are visible.

## Relationships

### Conforms To

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

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

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

---

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)