---
title: "navigationLinkIndicatorVisibility(_:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/view/navigationlinkindicatorvisibility(_:)"
---

# navigationLinkIndicatorVisibility(_:)

Configures whether navigation links show a disclosure indicator.

## Declaration

```swift
@MainActor @preconcurrency func navigationLinkIndicatorVisibility(_ visibility: Visibility) -> some View

```

## Discussion

Discussion If you need to detect whether the navigation disclosure indicator should be shown for the current view, read the navigationLinkIndicatorVisibility environment value. The following example hides the indicator for all links in the list. The indicator can be hidden for a specific link by placing the modifier on the NavigationLink itself. struct NoIndicatorLink: View {     var body: some View {         NavigationStack {             List {                 NavigationLink("See detail") {                     Text("Detail view")                 }             }             .navigationLinkIndicatorVisibility(.hidden)         }     } } important: Setting the link indicator visibility to .visible is only supported for navigation links contained in a List built with the Xcode 16 SDKs and earlier. Current releases support setting the indicator visibility to .visible regardless of whether the link is within a list.

## See Also

### Navigation stacks and columns

- [navigationDestination(for:destination:)](swiftui/view/navigationdestination(for:destination:).md)
- [navigationDestination(isPresented:destination:)](swiftui/view/navigationdestination(ispresented:destination:).md)
- [navigationDestination(item:destination:)](swiftui/view/navigationdestination(item:destination:).md)
- [navigationSplitViewColumnWidth(_:)](swiftui/view/navigationsplitviewcolumnwidth(_:).md)
- [navigationSplitViewColumnWidth(min:ideal:max:)](swiftui/view/navigationsplitviewcolumnwidth(min:ideal:max:).md)
- [navigationTransition(_:)](swiftui/view/navigationtransition(_:).md)
