<!--
{
  "availability" : [
    "iOS: 13.4.0 -",
    "iPadOS: 13.4.0 -",
    "macCatalyst: 13.4.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/HoverEffect",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI11HoverEffectV"
  },
  "title" : "HoverEffect"
}
-->

# HoverEffect

An effect applied when the pointer hovers over a view.

```
struct HoverEffect
```

## Topics

### Getting hover effects

[`automatic`](/documentation/SwiftUI/HoverEffect/automatic)

An effect  that attempts to determine the effect automatically.
This is the default effect.

[`highlight`](/documentation/SwiftUI/HoverEffect/highlight)

An effect  that morphs the pointer into a platter behind the view
and shows a light source indicating position.

[`lift`](/documentation/SwiftUI/HoverEffect/lift)

An effect that slides the pointer under the view and disappears as the
view scales up and gains a shadow.



---

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)