---
title: tabBarVisibility
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/tabviewcustomization/tabcustomization/tabbarvisibility
---

# tabBarVisibility

The visibility of the tab in the tab bar.

## Declaration

```swift
var tabBarVisibility: Visibility { get }
```

## Discussion

Discussion You can change the default visibility by using the TabContent/defaultVisibility(_:for) with a AdaptableTabBarPlacement.tabBar placement. If the ID isn’t associated with a tab or the tab has not been customized, a default value of .automatic is returned.
