<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/View/listRowHoverEffect(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI4ViewPAAE18listRowHoverEffectyQrAA0fG0VSgF"
  },
  "title" : "listRowHoverEffect(_:)"
}
-->

# listRowHoverEffect(_:)

Requests that the containing list row use the provided hover effect.

```
nonisolated func listRowHoverEffect(_ effect: HoverEffect?) -> some View
```

## Parameters

`effect`

The hover effect applied to the entire list row.

## Return Value

A view that requests a hover effect for a containing list row

## Discussion

By default, `List` rows have built-in hover effects in visionOS. In some
cases, it is useful to change the default hover effect.

This modifier can be applied to a list row’s content to request that the
list row’s default effect be replaced by the provided effect.
If the view is not contained within a `List` or if the view does not
support hover effects in this context, the modifier has no effect.

Use a `nil` effect to indicate that the list row’s default hover effect
should not be modified.

[`lift`](/documentation/SwiftUI/HoverEffect/lift) is not supported for list rows.

---

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)