---
title: windowToolbar
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/toolbarplacement/windowtoolbar
---

# windowToolbar

The placement for the containing window’s toolbar, sometimes referred to as the titlebar.

## Declaration

```swift
static var windowToolbar: ToolbarPlacement { get }
```

## Discussion

Discussion When hidden using toolbarVisibility(_:for:), this hides the entire window toolbar, including the title and “traffic light” window controls. To remove the custom toolbar item content only, use automatic. Use toolbarBackground(_:for:) to hide the background of the window toolbar.

## See Also

### Getting placements

- [automatic](swiftui/toolbarplacement/automatic.md)
- [accessoryBar(id:)](swiftui/toolbarplacement/accessorybar(id:).md)
- [bottomBar](swiftui/toolbarplacement/bottombar.md)
- [bottomOrnament](swiftui/toolbarplacement/bottomornament.md)
- [navigationBar](swiftui/toolbarplacement/navigationbar.md)
- [tabBar](swiftui/toolbarplacement/tabbar.md)
