<!--
{
  "documentType" : "article",
  "framework" : "TVML",
  "identifier" : "/documentation/TVML/segmentbarheader",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "segmentBarHeader"
}
-->

# segmentBarHeader

Displays information above a segment bar.

## Overview

The `segmentBarHeader` element displays information that is used to describe the
contents of a `segmentBar` element. Here’s an example that has a title and subtitle
above a segment bar that contains one item.

```xml
<segmentBarHeader>
   <title>Title</title>
   <subtitle>Subtitle</subtitle>
   <segmentBar>
      <segmentBarItem>
         <title>Title</title>
      </segmentBarItem>
   </segmentBar>
</segmentBarHeader>
```

### Subelements of segmentBarHeader

- [segmentBar](/documentation/TVML/segmentbar)
- [subtitle](/documentation/TVML/subtitle)
- [title](/documentation/TVML/title)

### Elements that Use segmentBarHeader

- [list](/documentation/TVML/list)

## Topics

### Valid TVML Styles

[margin](/documentation/TVML/margin)

Specifies the spacing around an element.

### Valid TVML Attributes

[binding](/documentation/TVML/binding)

Associates information in a data item with an element.

[prototype](/documentation/TVML/prototype)

Associates a data item type with an element.

[theme](/documentation/TVML/theme)

Sets the color scheme for an element.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)