---
title: TabRole
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/tabrole
---

# TabRole

A value that defines the purpose of the tab.

## Declaration

```swift
struct TabRole
```

## Topics

### Type Properties

- [prominent](swiftui/tabrole/prominent.md)
- [search](swiftui/tabrole/search.md)

## Relationships

### Conforms To

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

## See Also

### Presenting views in tabs

- [Enhancing your app’s content with tab navigation](swiftui/enhancing-your-app-content-with-tab-navigation.md)
- [TabView](swiftui/tabview.md)
- [Tab](swiftui/tab.md)
- [TabSection](swiftui/tabsection.md)
- [tabViewStyle(_:)](swiftui/view/tabviewstyle(_:).md)
