---
title: OrnamentHoverEffect
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/ornamenthovereffect
---

# OrnamentHoverEffect

Presents an ornament on hover.

## Declaration

```swift
struct OrnamentHoverEffect<OrnamentView> where OrnamentView : View
```

## Overview

Overview You don’t use this directly. Use CustomHoverEffect.ornament to create ornament effects instead.

## Relationships

### Conforms To

- [CustomHoverEffect](swiftui/customhovereffect.md)

## See Also

### Responding to hover events

- [onHover(perform:)](swiftui/view/onhover(perform:).md)
- [onContinuousHover(coordinateSpace:perform:)](swiftui/view/oncontinuoushover(coordinatespace:perform:).md)
- [hoverEffect(_:isEnabled:)](swiftui/view/hovereffect(_:isenabled:).md)
- [hoverEffectDisabled(_:)](swiftui/view/hovereffectdisabled(_:).md)
- [defaultHoverEffect(_:)](swiftui/view/defaulthovereffect(_:).md)
- [isHoverEffectEnabled](swiftui/environmentvalues/ishovereffectenabled.md)
- [HoverPhase](swiftui/hoverphase.md)
- [HoverEffectPhaseOverride](swiftui/hovereffectphaseoverride.md)
- [OrnamentHoverContentEffect](swiftui/ornamenthovercontenteffect.md)
