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

# ScrollIndicatorVisibility

The visibility of scroll indicators of a UI element.

```
struct ScrollIndicatorVisibility
```

## Overview

Pass a value of this type to the [`scrollIndicators(_:axes:)`](/documentation/SwiftUI/View/scrollIndicators(_:axes:)) method
to specify the preferred scroll indicator visibility of a view hierarchy.

## Topics

### Getting visibilties

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

Scroll indicator visibility depends on the
policies of the component accepting the visibility configuration.

[`hidden`](/documentation/SwiftUI/ScrollIndicatorVisibility/hidden)

Hide the scroll indicators.

[`never`](/documentation/SwiftUI/ScrollIndicatorVisibility/never)

Scroll indicators should never be visible.

[`visible`](/documentation/SwiftUI/ScrollIndicatorVisibility/visible)

Show the scroll indicators.



---

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)