---
title: TabViewBottomAccessoryPlacement
framework: swiftui
role: symbol
role_heading: Enumeration
path: swiftui/tabviewbottomaccessoryplacement
---

# TabViewBottomAccessoryPlacement

A placement of the bottom accessory in a tab view. You can use this to adjust the content of the accessory view based on the placement.

## Declaration

```swift
enum TabViewBottomAccessoryPlacement
```

## Overview

Overview The following example shows playback controls when the view is inline, and an expanded slider player view when the view is expanded. struct MusicPlaybackView: View {     @Environment(\.tabViewBottomAccessoryPlacement) var placement

var body: some View {         switch placement {         case .inline:             ControlsPlaybackView()         case .expanded:             SliderPlaybackView()     } } You can set the TabView bottom accessory using tabViewBottomAccessory(content:) TabView {     Tab("Home", systemImage: "house") {         HomeView()     }

Tab("Alerts", systemImage: "bell") {         AlertsView()     }

TabSection("Categories") {         Tab("Climate", systemImage: "fan") {             ClimateView()         }

Tab("Lights", systemImage: "lightbulb") {             LightsView()         }     } } .tabViewBottomAccessory {     HomeStatusView() }

## Topics

### Enumeration Cases

- [TabViewBottomAccessoryPlacement.expanded](swiftui/tabviewbottomaccessoryplacement/expanded.md)
- [TabViewBottomAccessoryPlacement.inline](swiftui/tabviewbottomaccessoryplacement/inline.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Configuring a tab bar

- [defaultAdaptableTabBarPlacement(_:)](swiftui/view/defaultadaptabletabbarplacement(_:).md)
- [defaultTabBarPlacement(_:)](swiftui/view/defaulttabbarplacement(_:).md)
- [tabViewSidebarHeader(content:)](swiftui/view/tabviewsidebarheader(content:).md)
- [tabViewSidebarFooter(content:)](swiftui/view/tabviewsidebarfooter(content:).md)
- [tabViewSidebarBottomBar(content:)](swiftui/view/tabviewsidebarbottombar(content:).md)
- [AdaptableTabBarPlacement](swiftui/adaptabletabbarplacement.md)
- [tabBarPlacement](swiftui/environmentvalues/tabbarplacement.md)
- [TabBarPlacement](swiftui/tabbarplacement.md)
- [isTabBarShowingSections](swiftui/environmentvalues/istabbarshowingsections.md)
- [tabBarMinimizeBehavior(_:)](swiftui/view/tabbarminimizebehavior(_:).md)
- [TabBarMinimizeBehavior](swiftui/tabbarminimizebehavior.md)
