---
title: "Tab View Side Bar Footer | Explore SwiftUI"
description: "Adds a custom footer to the sidebar of a tab view. Learn how to use Tab View Side Bar Footer in SwiftUI with visual code examples."
canonical_url: "https://exploreswiftui.com/library/tabview/tab-view-side-bar-footer"
meta:
  author: "Explore SwiftUI"
  "og:description": "Adds a custom footer to the sidebar of a tab view. Learn how to use Tab View Side Bar Footer in SwiftUI with visual code examples."
  "og:image": "https://exploreswiftui.com/_og/d/c_Component%2Ctitle_Tab%2BView%2BSide%2BBar%2BFooter%2Cdescription_Adds%2Ba%2Bcustom%2Bfooter%2Bto%2Bthe%2Bsidebar%2Bof%2Ba%2Btab%2Bview.%2Ccategory_TabView%2Cimage_~L2FwaS9pbWFnZXMvMTY4L3ZhcmlhbnRzLzczNT92PTE3OTAwNzM0Nzg4NDImcj0yJnc9NjQwJmg9NDgwJmY9cG5n%2CimageMode_fit%2CimagePosition_center%2CimageFrame_~Ym9yZGVyLXJhZGl1czogMTJweCAwcHggMHB4IDEycHg7IGJvcmRlcjogMXB4IHNvbGlkIHJnYmEoMCwwLDAsMC4wNik7IGJvcmRlci1yaWdodDogMDsgYm94LXNoYWRvdzogMCAtMTBweCA1MHB4IHJnYmEoMzcsOTksMjM1LDAuMTgpOw%2Cprops_eyJwbGF0Zm9ybXMiOlsiaU9TIiwiaVBhZE9TIiwibWFjT1MiLCJ0dk9TIiwidmlzaW9uT1MiXX0%2Cp_Ii9saWJyYXJ5L3RhYnZpZXcvdGFiLXZpZXctc2lkZS1iYXItZm9vdGVyIg%2Cs_g7Bh7TcmTRdRWtfT.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Tab View Side Bar Footer | Explore SwiftUI"
  "twitter:description": "Adds a custom footer to the sidebar of a tab view. Learn how to use Tab View Side Bar Footer in SwiftUI with visual code examples."
  "twitter:image": "https://exploreswiftui.com/_og/d/c_Component%2Ctitle_Tab%2BView%2BSide%2BBar%2BFooter%2Cdescription_Adds%2Ba%2Bcustom%2Bfooter%2Bto%2Bthe%2Bsidebar%2Bof%2Ba%2Btab%2Bview.%2Ccategory_TabView%2Cimage_~L2FwaS9pbWFnZXMvMTY4L3ZhcmlhbnRzLzczNT92PTE3OTAwNzM0Nzg4NDImcj0yJnc9NjQwJmg9NDgwJmY9cG5n%2CimageMode_fit%2CimagePosition_center%2CimageFrame_~Ym9yZGVyLXJhZGl1czogMTJweCAwcHggMHB4IDEycHg7IGJvcmRlcjogMXB4IHNvbGlkIHJnYmEoMCwwLDAsMC4wNik7IGJvcmRlci1yaWdodDogMDsgYm94LXNoYWRvdzogMCAtMTBweCA1MHB4IHJnYmEoMzcsOTksMjM1LDAuMTgpOw%2Cprops_eyJwbGF0Zm9ybXMiOlsiaU9TIiwiaVBhZE9TIiwibWFjT1MiLCJ0dk9TIiwidmlzaW9uT1MiXX0%2Cp_Ii9saWJyYXJ5L3RhYnZpZXcvdGFiLXZpZXctc2lkZS1iYXItZm9vdGVyIg%2Cs_g7Bh7TcmTRdRWtfT.png"
  "twitter:title": "Tab View Side Bar Footer | Explore SwiftUI"
---

> Index of every page on this site: [llms.txt](https://exploreswiftui.com/llms.txt)

**Interactive previews**[ iPad](https://exploreswiftui.com/ipad?element=168)

# **Tab View Side Bar Footer**

Adds a custom footer to the sidebar of a tab view.

![Tab View Side Bar Footer - Preview Not Available](https://exploreswiftui.com/api/images/168/variants/735?v=1790073478842&r=2&w=800&q=80&f=webp)

### **Platform Compatibility**

iOS 18.0+ iPadOS 18.0+ macOS 15.0+ tvOS 27.0+ visionOS 2.0+

### **Tags**

### **SwiftUI Code**

[ Docs](<https://developer.apple.com/documentation/swiftui/view/tabviewsidebarfooter(content:)>)

```
TabView {
    Tab {
        Text("0")
    }

    Tab("1", systemImage: "1.circle") {
        Text("1")
    }

    Tab("2", image: "cats24x24") {
        Text("2")
    }

    Tab {
        Text("3")
    } label: {
        Label("3", systemImage: "3.circle")
    }
}
.tabViewStyle(.sidebarAdaptable)
.tabViewSidebarFooter {
        Label("Foo", systemImage: "star")
}
```

### **Found an issue or have a suggestion?**

Created: April 11, 2026Updated: August 31, 2026

### **More TabView Components **

[**View all **](https://exploreswiftui.com/library/tabview)

![Collapse Sidebar Sections by Default - iPadOS - Landscape - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/259/variants/2039?v=1792566366133&r=2&w=412&q=75&f=webp)

### **Collapse Sidebar Sections by Default**

Collapses the section in the sidebar by default.

![Default Tab Bar Placement - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/239/variants/2069?v=1792681374978&r=2&w=412&q=75&f=webp)

### **Default Tab Bar Placement**

Specifies the preferred placement for the tabs of a TabView in the sidebarAdaptable style on platforms where the tab bar cannot adapt between different representations, and only one representation can be shown. For example, on iOS, it can enforce the sidebar on large-screen devices like the Pro Max, and iPhone Duo. This modifier has no effect on iPadOS.

![Default Collapsed Tab Section - iPadOS - Landscape - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/234/variants/341?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Default Collapsed Tab Section**

Sets the default expansion state for the section containing this tab to collapsed when displayed in the sidebar.

![Tab View Customization Behavior - iPadOS - Landscape - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/166/variants/669?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Tab View Customization Behavior**

Configures the customization behavior of customizable tab view content.

![Tab View Customization - iPadOS - Landscape - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/164/variants/671?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Tab View Customization**

Specifies the customizations to apply to the sidebar representation of the tab view.

![Tab View Side Bar Bottom Bar - iPadOS - Landscape - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/169/variants/707?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Tab View Side Bar Bottom Bar**

Adds a custom bottom bar to the sidebar of a tab view.

![Default Adaptable Tab Bar Placement - iPadOS - Landscape - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/170/variants/673?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Default Adaptable Tab Bar Placement**

Specifies the default placement for the tabs in a tab view using the adaptable sidebar style.

![Tab Bar Section Actions - iPadOS - Landscape - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/171/variants/631?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Tab Bar Section Actions**

Adds custom actions to a tab section.

### **Explore Other Components **

[**Browse all **](https://exploreswiftui.com/)

![Overlay Arrangement Edge - iOS on iPhone Duo - Landscape - Partially Open - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/251/variants/1787?v=1790586084694&r=2&w=412&q=75&f=webp)

### **Overlay Arrangement Edge**

The horizontal edge a view in an overlay arrangement occupies when the arrangement transitions to a horizontal layout. In this case, the primary view overlays the secondary view at the trailing edge when the screen is partially open in landscape.

![Remove Toolbar Item Margin - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/235/variants/665?v=1795201813124&r=2&w=412&q=75&f=webp)

### **Remove Toolbar Item Margin**

Configures whether the content margins are removed.

![InsetListStyle - iOS on iPhone - Portrait - Flat Design - Light Mode - Preview](https://exploreswiftui.com/api/images/104/variants/329?v=1790073478842&r=2&w=412&q=75&f=webp)

### **InsetListStyle**

The list style that describes the behavior and appearance of an inset list.

![GraphicalDatePickerStyle - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/62/variants/420?v=1790073478842&r=2&w=412&q=75&f=webp)

### **GraphicalDatePickerStyle**

A date picker style that displays an interactive calendar or clock

![Hour Minute Seconds DatePicker - watchOS - Flat Design - Light Mode - Preview](https://exploreswiftui.com/api/images/61/variants/181?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Hour Minute Seconds DatePicker**

A DatePicker for just hour, minute, and second.

![RenameButton - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/37/variants/213?v=1790073478842&r=2&w=412&q=75&f=webp)

### **RenameButton**

A button that triggers a standard rename action

![SegmentedPickerStyle - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/185/variants/583?v=1790073478842&r=2&w=412&q=75&f=webp)

### **SegmentedPickerStyle**

A picker style that presents the options in a segmented control. Use this style when there are two to five options. Consider using menu when there are more than five options.

![PasteButton - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/35/variants/235?v=1790073478842&r=2&w=412&q=75&f=webp)

### **PasteButton**

A system button that reads items from the pasteboard and delivers it to a closure.

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://exploreswiftui.com/#website","@type":"WebSite","description":"A visual library for SwiftUI APIs, components, and modifiers","inLanguage":"en-US","name":"Explore SwiftUI","url":"https://exploreswiftui.com/","publisher":{"@id":"https://exploreswiftui.com/#identity"}},{"@id":"https://exploreswiftui.com/library/tabview/tab-view-side-bar-footer#webpage","@type":"WebPage","dateModified":"2026-08-31T16:14:38.895Z","datePublished":"2026-04-11T12:54:57.575Z","description":"Adds a custom footer to the sidebar of a tab view. Learn how to use Tab View Side Bar Footer in SwiftUI with visual code examples.","name":"Tab View Side Bar Footer","url":"https://exploreswiftui.com/library/tabview/tab-view-side-bar-footer","breadcrumb":{"@id":"https://exploreswiftui.com/library/tabview/tab-view-side-bar-footer#breadcrumb"},"isPartOf":{"@id":"https://exploreswiftui.com/#website"},"mainEntity":{"@id":"https://exploreswiftui.com/library/tabview/tab-view-side-bar-footer#article"},"potentialAction":[{"@type":"ReadAction","target":["https://exploreswiftui.com/library/tabview/tab-view-side-bar-footer"]}],"primaryImageOfPage":{"@id":"https://exploreswiftui.com/#logo"}},{"@id":"https://exploreswiftui.com/#identity","@type":"Organization","description":"A visual library for SwiftUI APIs, components, and modifiers","name":"Explore SwiftUI","url":"https://exploreswiftui.com","logo":{"@id":"https://exploreswiftui.com/#logo"},"sameAs":["https://x.com/Typ0genius","https://mastodon.social/@Typ0genius"]},{"@id":"https://exploreswiftui.com/library/tabview/tab-view-side-bar-footer#article","citation":"https://developer.apple.com/documentation/swiftui/view/tabviewsidebarfooter(content:)","dateModified":"2026-08-31T16:14:38.895Z","datePublished":"2026-04-11T12:54:57.575Z","description":"Adds a custom footer to the sidebar of a tab view. Learn how to use Tab View Side Bar Footer in SwiftUI with visual code examples.","headline":"Tab View Side Bar Footer","inLanguage":"en-US","name":"Tab View Side Bar Footer","thumbnailUrl":"https://exploreswiftui.com/api/images/168/variants/735?v=1790073478842&r=2","url":"https://exploreswiftui.com/library/tabview/tab-view-side-bar-footer","@type":["Article","TechArticle"],"about":{"@type":"Thing","name":"SwiftUI"},"author":{"@id":"https://exploreswiftui.com/#identity"},"hasPart":{"@id":"https://exploreswiftui.com/library/tabview/tab-view-side-bar-footer#source-code"},"image":{"@id":"https://exploreswiftui.com/#/schema/image/1"},"isPartOf":{"@id":"https://exploreswiftui.com/library/tabview/tab-view-side-bar-footer#webpage"},"mainEntityOfPage":{"@id":"https://exploreswiftui.com/library/tabview/tab-view-side-bar-footer#webpage"},"publisher":{"@id":"https://exploreswiftui.com/#identity"}},{"@id":"https://exploreswiftui.com/library/tabview/tab-view-side-bar-footer#source-code","@type":"SoftwareSourceCode","codeSampleType":"full example","description":"Adds a custom footer to the sidebar of a tab view. Learn how to use Tab View Side Bar Footer in SwiftUI with visual code examples.","name":"Tab View Side Bar Footer SwiftUI Example","programmingLanguage":"Swift","runtimePlatform":"SwiftUI","text":"TabView {\n    Tab {\n        Text(\"0\")\n    }\n\n    Tab(\"1\", systemImage: \"1.circle\") {\n        Text(\"1\")\n    }\n\n    Tab(\"2\", image: \"cats24x24\") {\n        Text(\"2\")\n    }\n\n    Tab {\n        Text(\"3\")\n    } label: {\n        Label(\"3\", systemImage: \"3.circle\")\n    }\n}\n.tabViewStyle(.sidebarAdaptable)\n.tabViewSidebarFooter {\n        Label(\"Foo\", systemImage: \"star\")\n}","about":[{"@type":"Thing","name":"SwiftUI"},{"@type":"Thing","name":"TabView"},{"@type":"Thing","name":"Tab View Side Bar Footer"}]},{"@id":"https://exploreswiftui.com/library/tabview/tab-view-side-bar-footer#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://exploreswiftui.com","position":1},{"@type":"ListItem","name":"TabView","item":"https://exploreswiftui.com/library/tabview","position":2},{"@type":"ListItem","name":"Tab View Side Bar Footer","item":"https://exploreswiftui.com/library/tabview/tab-view-side-bar-footer","position":3}]},{"@id":"https://exploreswiftui.com/#logo","@type":"ImageObject","caption":"Explore SwiftUI","contentUrl":"https://exploreswiftui.com/apple-touch-icon.png","inLanguage":"en","url":"https://exploreswiftui.com/apple-touch-icon.png"},{"@id":"https://exploreswiftui.com/#/schema/image/1","@type":"ImageObject","contentUrl":"https://exploreswiftui.com/api/images/168/variants/735?v=1790073478842&r=2","inLanguage":"en","url":"https://exploreswiftui.com/api/images/168/variants/735?v=1790073478842&r=2"}]}
```